Skip to content

Commit a90d604

Browse files
committed
code trim
1 parent 8e31f99 commit a90d604

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

ts/formatter/jest.config.esm.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"testRegex": "(/test/.*|(\\.|/)(test|spec))\\.mjs?$"
2+
"testRegex": "(/test/.*|(\\.|/)(test|spec))\\.m?js$"
33
}

ts/formatter/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"compile": "tsc --project tsconfig.json",
2020
"pretest": "npm run compile",
2121
"test": "jest",
22-
"posttest": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --config=jest.config.esm.json"
22+
"posttest": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config=jest.config.esm.json"
2323
},
2424
"license": "Apache-2.0",
2525
"dependencies": {
@@ -33,7 +33,6 @@
3333
"ts-jest": "latest",
3434
"@types/jest": "latest",
3535
"@types/node": "latest",
36-
"cross-env": "latest",
3736
"jest-ts-webcompat-resolver": "latest"
3837
},
3938
"type": "module"

0 commit comments

Comments
 (0)