fix test:unit for windows

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2023-01-24 14:23:26 +02:00
1 parent c1c0bdcdd7
commit d87d10aa75
1 file changed
+2 -1
+2 -1
View File
@@ -52,7 +52,8 @@
"prepare:dev": "env NODE_ENV=development yarn run webpack --config webpack/library-bundle.ts --progress", "prepare:dev": "env NODE_ENV=development yarn run webpack --config webpack/library-bundle.ts --progress",
"dev": "env NODE_ENV=development yarn run webpack --config webpack/library-bundle.ts --watch", "dev": "env NODE_ENV=development yarn run webpack --config webpack/library-bundle.ts --watch",
"prepare": "yarn run compile:node-fetch", "prepare": "yarn run compile:node-fetch",
"test:unit": "func() { jest ${1} --testPathIgnorePatterns integration; }; func", "test:unit": "jest --testPathIgnorePatterns integration",
"test:watch": "func() { jest ${1} --watch --testPathIgnorePatterns integration; }; func",
"lint": "PROD=true yarn run eslint --ext js,ts,tsx --max-warnings=0 .", "lint": "PROD=true yarn run eslint --ext js,ts,tsx --max-warnings=0 .",
"lint:fix": "yarn run lint --fix" "lint:fix": "yarn run lint --fix"
}, },