Skip to content

Commit

Permalink
change BaseReporter.getTotalTime to check type rather than value
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian McKenzie committed Oct 14, 2016
1 parent 29c957b commit dc18f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/reporters/base-reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import BaseReporter from '../../src/reporters/base-reporter.js';

test('BaseReporter.getTotalTime', () => {
const reporter = new BaseReporter();
expect(reporter.getTotalTime() <= 1).toBeTruthy();
expect(typeof reporter.getTotalTime() === 'number').toBeTruthy();
reporter.close();
});

Expand Down

0 comments on commit dc18f27

Please sign in to comment.