Refactor unit test assertions to be more specific
- Change `process.bootingFlagSet` assertion from `ok()` to `true()` - Change `app.booting` assertion from `not.be.ok()` to `false()`
This commit is contained in:
parent
d041d80933
commit
276391811a
|
@ -57,8 +57,8 @@ describe('executor', function() {
|
|||
expect(app.booting).to.be.undefined();
|
||||
boot.execute(app, simpleAppInstructions(), function(err) {
|
||||
expect(err).to.be.undefined();
|
||||
expect(process.bootingFlagSet).to.be.ok();
|
||||
expect(app.booting).to.not.be.ok();
|
||||
expect(process.bootingFlagSet).to.be.true();
|
||||
expect(app.booting).to.be.false();
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue