From 254947be6a30d1b97e7b02d38ba8a9a893f80939 Mon Sep 17 00:00:00 2001 From: yuangongji Date: Thu, 10 Dec 2020 09:52:37 +0800 Subject: [PATCH] Fixed #490: Test failed on Windows --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fa4884b..7dee52b 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "lint:fix": "yarn lint --write", "test": "yarn test:ts && yarn test:babel && yarn test:dts", "test:ts": "jest", - "test:babel": "BABEL_TEST=1 jest", + "test:babel": "cross-env BABEL_TEST=1 jest", "test:dts": "tsc -p ./test-dts", "docs:dev": "vuepress dev docs", "docs:build": "vuepress build docs", @@ -62,6 +62,7 @@ "babel-jest": "^26.3.0", "babel-loader": "^8.1.0", "conventional-changelog-cli": "^2.1.0", + "cross-env": "^7.0.3", "css-loader": "^4.2.1", "jest": "^26.4.2", "prettier": "^2.0.5",