Skip to content

Commit 88cabc4

Browse files
bergmeisterTylerLeonhardt
authored andcommitted
Do not run pester tests when user cancels questions using the x button (#1714)
1 parent 6bda814 commit 88cabc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/PesterTests.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class PesterTestsFeature implements IFeature {
6262
`Would you like to ${runInDebugger ? "debug" : "run"} all the tests in this file?`,
6363
"Yes", "No");
6464

65-
if (answer === "No") {
65+
if (answer !== "Yes") {
6666
return;
6767
}
6868
}

0 commit comments

Comments
 (0)