-
-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace mocha with jest * Remove unnecessary @babel/register * Move chai setup to each test file This allows us moving to Jest built-in matchers one test file at a time * Remove xvfb from github workflow * Move timeout configuration to describe block * Use spawn instead of exec
- Loading branch information
Showing
14 changed files
with
2,360 additions
and
519 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Jest configuration | ||
// Reference: https://jestjs.io/docs/configuration | ||
|
||
module.exports = { | ||
testMatch: [ | ||
'**/test/*.js' | ||
], | ||
testPathIgnorePatterns: [ | ||
'<rootDir>/test/helpers.js' | ||
], | ||
setupFilesAfterEnv: [ | ||
'<rootDir>/test/helpers.js' | ||
], | ||
watchPathIgnorePatterns: [ | ||
// Ignore the output generated by plugin tests | ||
// when watching for changes to avoid the test | ||
// runner continuously re-running tests | ||
'<rootDir>/test/output' | ||
] | ||
}; |
Oops, something went wrong.