h5ai/test/index.js

18 lines
408 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');
2019-04-24 02:09:57 +02:00
const {pin_html} = require('./util/pin');
2016-06-04 01:06:25 +02:00
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
2019-04-24 02:09:57 +02:00
pin_html();
2016-06-04 01:06:25 +02:00
test.cli({sync: true});