Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Mar 4, 2018
1 parent 79325aa commit 9c6c13f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/specs/specs-spec.js
@@ -1,12 +1,12 @@
var tests = require('../');
var specTests = require('../');

it('should run spec tests', function () {
// hide output
spyOn(console, 'log');
if (!tests.runTests({stop: true})) {
if (!specTests({stop: true})) {
// if tests fail rerun tests and show output
console.log.and.callThrough();
tests.runTests();
specTests();
fail();
}
});

0 comments on commit 9c6c13f

Please sign in to comment.