h5ai/test/index.js

18 lines
406 B
JavaScript
Raw Normal View History

2016-07-22 21:19:10 +02:00
if (!global.window) {
2019-03-22 02:33:58 +01:00
const JSDOM = require('jsdom').JSDOM;
global.window = new JSDOM('').window;
2016-07-22 21:19:10 +02:00
}
2016-06-04 01:06:25 +02:00
const {test} = require('scar');
const {pinHtml} = require('./util/pin');
require('./tests/premisses');
2016-06-04 02:43:48 +02:00
require('./tests/unit/core/event');
require('./tests/unit/core/format');
2016-07-23 03:03:35 +02:00
require('./tests/unit/util/naturalCmp');
2016-07-24 01:23:10 +02:00
require('./tests/unit/util/parsePatten');
2016-06-04 01:06:25 +02:00
pinHtml();
test.cli({sync: true});