blob: 82d300a56ba0060e40dd3f138e9fc6db7f4bd201 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
var specTests = require('../../');
it('should run spec tests', () => {
// hide output
spyOn(console, 'log');
if (!specTests(['', '', '--stop'])) {
// if tests fail rerun tests and show output
console.log.and.callThrough();
specTests([]);
fail();
}
});
|