File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 11module . 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- '^.+\\.[t|j]sx?$' : 'babel-jest' ,
10- } ,
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+ "^.+\\.[t|j]sx?$" : "babel-jest"
10+ } ,
11+ collectCoverage : true
1112} ;
Original file line number Diff line number Diff line change 55 "main" : " dist/index.js" ,
66 "typings" : " dist/index.d.ts" ,
77 "scripts" : {
8- "test" : " jest --coverage " ,
8+ "test" : " jest" ,
99 "build" : " npx babel src --out-dir dist --extensions '.ts,.tsx'"
1010 },
1111 "repository" : {
You can’t perform that action at this time.
0 commit comments