mirror of
https://github.com/desktop/desktop
synced 2024-08-27 12:11:00 +00:00
rename jest.config.js to jest.unit.config.js to differentiate from integration tests
This commit is contained in:
parent
2b4a258167
commit
60e3927160
4
.vscode/launch.json
vendored
4
.vscode/launch.json
vendored
|
@ -10,7 +10,7 @@
|
|||
"args": [
|
||||
"--silent",
|
||||
"--config",
|
||||
"${workspaceFolder}/app/jest.config.js"
|
||||
"${workspaceFolder}/app/jest.unit.config.js"
|
||||
],
|
||||
"console": "integratedTerminal",
|
||||
"internalConsoleOptions": "neverOpen",
|
||||
|
@ -30,7 +30,7 @@
|
|||
"args": [
|
||||
"--silent",
|
||||
"--config",
|
||||
"${workspaceFolder}/app/jest.config.js",
|
||||
"${workspaceFolder}/app/jest.unit.config.js",
|
||||
"${relativeFile}"
|
||||
],
|
||||
"console": "integratedTerminal",
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"scripts": {
|
||||
"cli": "ts-node --require ./app/test/globals.ts --require ./app/src/cli/dev-commands-global.ts app/src/cli/main.ts",
|
||||
"test:integration": "cross-env TEST_ENV=1 ELECTRON_NO_ATTACH_CONSOLE=1 xvfb-maybe --auto-servernum -- jest --config ./app/jest.integration.config.js",
|
||||
"test:unit": "cross-env ELECTRON_RUN_AS_NODE=1 ./node_modules/.bin/electron ./node_modules/jest/bin/jest --detectOpenHandles --silent --config ./app/jest.config.js",
|
||||
"test:unit": "cross-env ELECTRON_RUN_AS_NODE=1 ./node_modules/.bin/electron ./node_modules/jest/bin/jest --detectOpenHandles --silent --config ./app/jest.unit.config.js",
|
||||
"test:unit:cov": "yarn test:unit --coverage",
|
||||
"test:script": "jest --silent --config ./script/jest.config.js",
|
||||
"test:script:cov": "yarn test:script --coverage",
|
||||
|
|
Loading…
Reference in a new issue