Skip to content

Commit

Permalink
Replace mocha with jest
Browse files Browse the repository at this point in the history
  • Loading branch information
valscion committed Sep 26, 2021
1 parent 194c62d commit 00a98d5
Show file tree
Hide file tree
Showing 7 changed files with 2,344 additions and 454 deletions.
20 changes: 20 additions & 0 deletions jest.config.js
@@ -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'
]
}

0 comments on commit 00a98d5

Please sign in to comment.