Skip to content

Commit d00475d

Browse files
committed
Replace mocha with jest
1 parent 194c62d commit d00475d

File tree

7 files changed

+2344
-454
lines changed

7 files changed

+2344
-454
lines changed

jest.config.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Jest configuration
2+
// Reference: https://jestjs.io/docs/configuration
3+
4+
module.exports = {
5+
testMatch: [
6+
'**/test/*.js'
7+
],
8+
testPathIgnorePatterns: [
9+
'<rootDir>/test/helpers.js'
10+
],
11+
setupFilesAfterEnv: [
12+
'<rootDir>/test/helpers.js'
13+
],
14+
watchPathIgnorePatterns: [
15+
// Ignore the output generated by plugin tests
16+
// when watching for changes to avoid the test
17+
// runner continuously re-running tests
18+
'<rootDir>/test/output'
19+
]
20+
};

0 commit comments

Comments
 (0)