7406b185d2
This adds some basic tests for the test runner.
16 lines
383 B
JavaScript
16 lines
383 B
JavaScript
const {TestRunner, Matchers, Reporter} = require('..');
|
|
|
|
const testRunner = new TestRunner();
|
|
const {expect} = new Matchers();
|
|
|
|
require('./testrunner.spec.js').addTests({testRunner, expect});
|
|
|
|
new Reporter(testRunner, {
|
|
verbose: process.argv.includes('--verbose'),
|
|
summary: true,
|
|
projectFolder: require('path').join(__dirname, '..'),
|
|
showSlowTests: 0,
|
|
});
|
|
testRunner.run();
|
|
|