File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
- module . exports = { }
1
+ module . exports = {
2
+ testMatch : [ '<rootDir>/**/*.test.js' ] ,
3
+ }
Original file line number Diff line number Diff line change 26
26
],
27
27
"scripts" : {
28
28
"test" : " is-ci \" test:ci\" \" test:dev\" " ,
29
- "test:dev" : " npm run test:types && npm run test:format && npm run test:eslint && jest --watch" ,
30
- "test:ci" : " npm run test:types && npm run test:format && npm run test:eslint && jest" ,
29
+ "test:dev" : " npm run test:types && npm run test:format && npm run test:eslint && npm run test:codemod && jest --watch" ,
30
+ "test:ci" : " npm run test:types && npm run test:format && npm run test:eslint && npm run test:codemod && jest" ,
31
31
"test:coverage" : " yarn test:ci; open coverage/lcov-report/index.html" ,
32
32
"test:format" : " yarn prettier --check" ,
33
33
"test:types" : " tsc" ,
34
34
"test:eslint" : " eslint --ext .ts,.tsx ./src" ,
35
35
"test:size" : " yarn build:umd && bundlewatch" ,
36
+ "test:codemod" : " jest --config codemods/jest.config.js" ,
36
37
"build" : " yarn build:commonjs && yarn build:es && yarn build:umd && yarn build:types" ,
37
38
"build:commonjs" : " rimraf ./lib && cross-env BABEL_ENV=commonjs babel --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir lib" ,
38
39
"build:es" : " rimraf ./es && babel --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir es" ,
You can’t perform that action at this time.
0 commit comments