Skip to content

Commit 034d901

Browse files
committed
set up jest for unit tests
1 parent ed891ab commit 034d901

3 files changed

Lines changed: 14134 additions & 1015 deletions

File tree

jest.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
roots: ["<rootDir>/src"],
3+
testMatch: [
4+
"**/__tests__/**/*.+(ts|tsx|js)",
5+
"**/?(*.)+(spec|test).+(ts|tsx|js)",
6+
],
7+
transform: {
8+
"^.+\\.(ts|tsx)$": "ts-jest",
9+
},
10+
};

0 commit comments

Comments
 (0)