diff --git a/src/features/PesterTests.ts b/src/features/PesterTests.ts index 0486c7323a..32cc795a0b 100644 --- a/src/features/PesterTests.ts +++ b/src/features/PesterTests.ts @@ -91,11 +91,7 @@ export class PesterTestsFeature implements vscode.Disposable { ], internalConsoleOptions: "neverOpen", noDebug: (launchType === LaunchType.Run), - createTemporaryIntegratedConsole: settings.debugging.createTemporaryIntegratedConsole, - cwd: - currentDocument.isUntitled - ? vscode.workspace.rootPath - : path.dirname(currentDocument.fileName), + createTemporaryIntegratedConsole: settings.debugging.createTemporaryIntegratedConsole }; if (lineNum) {