Skip to content
Permalink
Browse files

fix(tests): use fakeOra properly in system spec

  • Loading branch information
malept committed Sep 9, 2017
1 parent 969a035 commit bb4c7875525b3a0f9bcca239dda152b51c8549fb
Showing with 2 additions and 1 deletion.
  1. +1 −0 src/util/ora.js
  2. +1 −1 test/fast/system_spec.js
@@ -1,3 +1,4 @@
import 'colors';
import debug from 'debug';
import logSymbols from 'log-symbols';
import realOra from 'ora';
@@ -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.
You can’t perform that action at this time.