puppeteer/utils/testrunner/test/test.js
Andrey Lushnikov 7406b185d2
chore(testrunner): introduce tests for TestRunner (#4773)
This adds some basic tests for the test runner.
2019-07-30 13:19:12 -07:00

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();