Skip to content

Commit 87e7419

Browse files
committed
Jest migration
Replaced mocha, chai, sinon and nyc with jest Refactored tests to use jest Removed gulp and associated dependencies Replaced gulp with npm scripts (copyfiles, json, rimraf) Updated all dependencies
1 parent cdd78ad commit 87e7419

21 files changed

+4125
-5785
lines changed

.editorconfig

Lines changed: 0 additions & 12 deletions
This file was deleted.

codecov.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

gulpfile.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

gulpfile.ts

Lines changed: 0 additions & 299 deletions
This file was deleted.

jest.config.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
module.exports = {
2+
modulePaths: ["<rootDir>/node_modules"],
3+
transform: {
4+
"^.+\\.tsx?$": "ts-jest"
5+
},
6+
testRegex: "(/__test__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
7+
testEnvironment: "node",
8+
moduleFileExtensions: [
9+
"ts",
10+
"tsx",
11+
"js",
12+
"jsx",
13+
"json",
14+
"node"
15+
],
16+
modulePathIgnorePatterns: [
17+
"<rootDir>/build/"
18+
],
19+
coverageReporters: [
20+
// "html",
21+
// "lcov",
22+
"text-summary"
23+
]
24+
};

0 commit comments

Comments
 (0)