Skip to content

Commit

Permalink
Fix running tests on windows (#492)
Browse files Browse the repository at this point in the history
* Added cross-env package as devDependency, modified test command

* Updated yarn.lock
  • Loading branch information
krzyswiatkowski committed Mar 20, 2020
1 parent 3542cbb commit 7410ce6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"watch": "rollup -c -w",
"prepublishOnly": "yarn build",
"clean": "rimraf lib",
"test": "BABEL_ENV=test jest --config jest.config.json",
"test": "cross-env BABEL_ENV=test jest --config jest.config.json",
"prettier": "prettier './**' --write",
"lint": "eslint src"
},
Expand Down Expand Up @@ -52,6 +52,7 @@
"babel-jest": "^25.1.0",
"babel-plugin-dynamic-import-node": "^2.3.0",
"concurrently": "^5.1.0",
"cross-env": "^7.0.2",
"custom-event": "^1.0.1",
"eslint": "6.8.0",
"eslint-config-canopy": "2.3.0",
Expand Down
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1771,6 +1771,13 @@ cosmiconfig@^6.0.0:
path-type "^4.0.0"
yaml "^1.7.2"

cross-env@^7.0.2:
version "7.0.2"
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.2.tgz#bd5ed31339a93a3418ac4f3ca9ca3403082ae5f9"
integrity sha512-KZP/bMEOJEDCkDQAyRhu3RL2ZO/SUVrxQVI0G3YEQ+OLbRA3c6zgixe8Mq8a/z7+HKlNEjo8oiLUs8iRijY2Rw==
dependencies:
cross-spawn "^7.0.1"

cross-spawn@^6.0.0, cross-spawn@^6.0.5:
version "6.0.5"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
Expand All @@ -1782,7 +1789,7 @@ cross-spawn@^6.0.0, cross-spawn@^6.0.5:
shebang-command "^1.2.0"
which "^1.2.9"

cross-spawn@^7.0.0:
cross-spawn@^7.0.0, cross-spawn@^7.0.1:
version "7.0.1"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.1.tgz#0ab56286e0f7c24e153d04cc2aa027e43a9a5d14"
integrity sha512-u7v4o84SwFpD32Z8IIcPZ6z1/ie24O6RU3RbtL5Y316l3KuHVPx9ItBgWQ6VlfAFnRnTtMUrsQ9MUUTuEZjogg==
Expand Down

0 comments on commit 7410ce6

Please sign in to comment.