Configure just the test-next task to run with Jest's -i option (#11334)
This commit is contained in:
Родитель
e11c73d37e
Коммит
d5cae48c20
|
@ -124,7 +124,7 @@ jobs:
|
|||
- *restore_next_build_cache
|
||||
- *run_yarn_install
|
||||
- *save_next_build_cache
|
||||
- run: yarn test-ci
|
||||
- run: yarn test-ci-next
|
||||
|
||||
dennis-lint:
|
||||
<<: *defaults-release
|
||||
|
|
11
package.json
11
package.json
|
@ -36,6 +36,7 @@
|
|||
"start": "npm run version-check && better-npm-run --silent node bin/server.js | pino-mozlog",
|
||||
"start-func-test-server": "better-npm-run node bin/start-func-test-server.js",
|
||||
"test-ci": "bin/config-check.js && npm run build-locales && better-npm-run test-ci",
|
||||
"test-ci-next": "bin/config-check.js && npm run build-locales && better-npm-run test-ci-next",
|
||||
"test": "bin/config-check.js && better-npm-run jest --watch",
|
||||
"test-coverage": "bin/config-check.js && better-npm-run jest --coverage --watch",
|
||||
"test-coverage-once": "bin/config-check.js && better-npm-run jest --coverage",
|
||||
|
@ -140,6 +141,16 @@
|
|||
"NO_ESLINT": "1"
|
||||
}
|
||||
},
|
||||
"test-ci-next": {
|
||||
"command": "npm run version-check && npm run flow:check && bin/config-check.js && better-npm-run jest --color=false --coverage -i",
|
||||
"env": {
|
||||
"NODE_ICU_DATA": "./node_modules/full-icu",
|
||||
"NODE_PATH": "./:./src",
|
||||
"NODE_ENV": "test",
|
||||
"NO_FLOW": "1",
|
||||
"NO_ESLINT": "1"
|
||||
}
|
||||
},
|
||||
"webpack-dev-server": {
|
||||
"command": "node bin/webpack-dev-server.js",
|
||||
"env": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче