Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit 1054601

Browse files
authored
feat: Use cross-spawn instead of adding .cmd (#434)
* feat: Use cross-spawn instead of adding .cmd * Add jest-os-detection
1 parent 0cc269e commit 1054601

File tree

5 files changed

+427
-156
lines changed

5 files changed

+427
-156
lines changed

jest.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ module.exports = {
2323
"json",
2424
"jsx",
2525
"node"
26-
]
26+
],
27+
"setupFilesAfterEnv": ["jest-os-detection"]
2728
};

package-lock.json

+52-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"acorn": "^7.0.0",
5353
"axios": "^0.18.0",
5454
"azure-functions-core-tools": "^3.0.2245",
55+
"cross-spawn": "^7.0.2",
5556
"deep-equal": "^1.0.1",
5657
"js-yaml": "^3.13.1",
5758
"jsonpath": "^1.0.1",
@@ -84,6 +85,7 @@
8485
"eslint": "^5.16.0",
8586
"jest": "^24.8.0",
8687
"jest-cli": "^24.8.0",
88+
"jest-os-detection": "^1.1.1",
8789
"mock-fs": "^4.10.0",
8890
"mock-spawn": "^0.2.6",
8991
"serverless": "^1.44.1",

0 commit comments

Comments
 (0)