test: add jest config
This commit is contained in:
parent
8accba7da6
commit
002f28a02b
1 changed files with 13 additions and 0 deletions
13
jest.config.js
Normal file
13
jest.config.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
module.exports = {
|
||||
"roots": [
|
||||
"<rootDir>/src",
|
||||
"<rootDir>"
|
||||
],
|
||||
"testMatch": [
|
||||
"**/__tests__/**/*.+(ts|tsx|js)",
|
||||
"**/?(*.)+(spec|test).+(ts|tsx|js)"
|
||||
],
|
||||
"transform": {
|
||||
"^.+\\.(ts|tsx)$": "ts-jest"
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue