Skip to content

Commit

Permalink
Configure jest plugin to run only for Devextreme folder in workspace (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeVitik authored Feb 24, 2022
1 parent 5f10022 commit 044d894
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
17 changes: 16 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,20 @@
"sourceMaps": true,
"cwd": "${workspaceRoot}"
},
{
"type": "node",
"name": "vscode-jest-tests",
"request": "launch",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"sourceMaps": true,
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
"cwd": "${workspaceFolder}",
"args": [
"--runInBand",
"--watchAll=false"
]
}
]
}
}
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"jest.autoRun": {
"watch": true,
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}
}

0 comments on commit 044d894

Please sign in to comment.