Skip to content

Commit 86a73b6

Browse files
authored
Merge pull request #67 from Turbo87/jest
Use Jest directly
2 parents 0f7402d + 83fff49 commit 86a73b6

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"author": "",
1515
"scripts": {
1616
"release": "release-it",
17-
"test": "codemod-cli test",
17+
"test": "jest",
1818
"test:integration": "ts-node ./test/run-test.ts",
1919
"update-docs": "codemod-cli update-docs",
2020
"coveralls": "cat ./coverage/lcov.info | node node_modules/.bin/coveralls",
@@ -61,7 +61,10 @@
6161
"node": "8.* || 10.* || >= 12"
6262
},
6363
"jest": {
64-
"testEnvironment": "node"
64+
"testEnvironment": "node",
65+
"testMatch": [
66+
"<rootDir>/transforms/**/test.js"
67+
]
6568
},
6669
"publishConfig": {
6770
"registry": "https://registry.npmjs.org"

0 commit comments

Comments
 (0)