marked/test/specs/specs-spec.js
2018-03-04 00:51:00 -06:00

13 lines
272 B
JavaScript

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