diff --git a/.vscode/settings.json b/.vscode/settings.json index 1b5c4c8a59..33e843e966 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -16,8 +16,9 @@ "typescript", "typescriptreact" ], - // Disable Jest autoRun as otherwise it will start running all tests the first time. - "jest.autoRun": "off", + // Set Jest runMode to on-demand as otherwise it will start running all tests the first time. + // Equivalent to deprecated option "jest.autoRun": "off" + "jest.runMode": "on-demand", // Debugging. "debug.javascript.unmapMissingSources": true, "files.exclude": {