-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(testrunner): introduce tests for TestRunner (#4773)
This adds some basic tests for the test runner.
- Loading branch information
1 parent
3bbc45a
commit 7406b18
Showing
5 changed files
with
549 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
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(); | ||
|
Oops, something went wrong.