Skip to content

Commit

Permalink
fix(tests): use fakeOra properly in system spec
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Sep 9, 2017
1 parent 969a035 commit bb4c787
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/util/ora.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'colors';
import debug from 'debug';
import logSymbols from 'log-symbols';
import realOra from 'ora';
Expand Down
2 changes: 1 addition & 1 deletion test/fast/system_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ import { fakeOra } from '../../src/util/ora';

describe('check-system', () => {
it('should succeed on valid agents', async () => {
expect(await checkSystem(fakeOra)).to.be.equal(true);
expect(await checkSystem(fakeOra())).to.be.equal(true);
});
});

0 comments on commit bb4c787

Please sign in to comment.