Skip to content

Commit fcdecc5

Browse files
author
Sergey Astapov
committed
Re-arrange tests so that they are grouped by use cases
1 parent eeab9e6 commit fcdecc5

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

test/package-json-test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ describe('generating package.json', function() {
8484
]);
8585
});
8686

87+
it('contains app name', function() {
88+
let pkg = fs.readJsonSync(app.filePath('dist/package.json'));
89+
90+
expect(pkg.fastboot.appName).to.equal('module-whitelist');
91+
});
92+
8793
it('contains the application config', function() {
8894
let pkg = fs.readJsonSync(app.filePath('dist/package.json'));
8995

@@ -139,12 +145,6 @@ describe('generating package.json', function() {
139145
});
140146
});
141147
});
142-
143-
it('contains app name', function() {
144-
let pkg = fs.readJsonSync(app.filePath('dist/package.json'));
145-
146-
expect(pkg.fastboot.appName).to.equal('module-whitelist');
147-
});
148148
});
149149

150150
describe('with production FastBoot builds', function() {

0 commit comments

Comments
 (0)