chore: rename jest config

this will avoid use config cli prop every time
This commit is contained in:
Juan Picado @jotadeveloper 2018-07-01 09:21:21 +02:00
parent 0ce534ef4f
commit 23f76b1b1d
No known key found for this signature in database
GPG Key ID: 18AC54485952D158
2 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@
"flow": "flow", "flow": "flow",
"pretest": "npm run code:build", "pretest": "npm run code:build",
"test": "npm run test:unit", "test": "npm run test:unit",
"test:unit": "cross-env NODE_ENV=test BABEL_ENV=test TZ=UTC jest --config ./jest.config.unit.js --maxWorkers 2", "test:unit": "cross-env NODE_ENV=test BABEL_ENV=test TZ=UTC jest --config ./jest.config.js --maxWorkers 2",
"test:functional": "cross-env NODE_ENV=testOldEnv jest --config ./test/jest.config.functional.js --testPathPattern ./test/functional/index*", "test:functional": "cross-env NODE_ENV=testOldEnv jest --config ./test/jest.config.functional.js --testPathPattern ./test/functional/index*",
"test:e2e": "cross-env BABEL_ENV=testOldEnv jest --config ./test/jest.config.e2e.js", "test:e2e": "cross-env BABEL_ENV=testOldEnv jest --config ./test/jest.config.e2e.js",
"test:all": "npm run test && npm run test:functional && npm run test:e2e", "test:all": "npm run test && npm run test:functional && npm run test:e2e",