Skip to content

Commit

Permalink
fix(jest): make work of the npm test:watch and test:watch:windows
Browse files Browse the repository at this point in the history
path to env parameters got fixed
  • Loading branch information
Passerino committed Nov 10, 2021
1 parent cfc962e commit 6a799b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Expand Up @@ -8,7 +8,7 @@ module.exports = {
testEnvironment: "node",
testRegex: "(/(e2e|src)/(.|\\.)*\\.(e2e|spec)\\.ts$)",
moduleFileExtensions: ["ts", "tsx", "js", "json"],
coveragePathIgnorePatterns: ["/node_modules/", "/test/"],
coveragePathIgnorePatterns: ["/node_modules/", "/e2e/", "/test/"],
coverageThreshold: {
global: {
branches: 0,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -34,9 +34,9 @@
"prepare": "npm run build",
"start-rpc": "run-with-testrpc -m \"candy maple cake sugar pudding cream honey rich smooth crumble sweet treat\" -p 8544 --chainId 1337 -a 20 -e 1000 -l=10000000",
"ganache": "ganache-cli -m \"candy maple cake sugar pudding cream honey rich smooth crumble sweet treat\" -p 8544 --chainId 1337 -a 20 -e 1000 -l=10000000",
"test:watch": "npm run start-rpc -- \"jest --coverage --env=jest.env.js --watchAll\"",
"test:watch": "npm run start-rpc -- \"jest --coverage --env=./jest.env.js --watchAll\"",
"test": "npm run start-rpc -- \"jest --no-cache --env=./jest.env.js\"",
"test:watch:windows": "concurrently \"npm run start-rpc\" \"jest --coverage --env=jest.env.js --watchAll\""
"test:watch:windows": "concurrently \"npm run start-rpc\" \"jest --coverage --env=./jest.env.js --watchAll\""
},
"keywords": [
"decentralized",
Expand Down

0 comments on commit 6a799b5

Please sign in to comment.