Skip to content

Commit 002f28a

Browse files
committed
test: add jest config
1 parent 8accba7 commit 002f28a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

jest.config.js

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

0 commit comments

Comments
 (0)