Skip to content

Commit 940d8c2

Browse files
Copilotjakebailey
andcommitted
Remove unnecessary comments from test as requested
Co-authored-by: jakebailey <5341706+jakebailey@users.noreply.github.com>
1 parent e7303b4 commit 940d8c2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/cases/fourslash/unreachableCodeAfterEdit.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,14 @@
3131
//// }
3232
//// }
3333

34-
// Initially, there should be no errors
3534
verify.numberOfErrorsInCurrentFile(0);
3635

37-
// Add a throw statement ABOVE the imports
3836
goTo.marker("before");
3937
edit.insert("throw new Error('foo');\n");
4038

41-
// Now there should be unreachable code errors
4239
verify.numberOfErrorsInCurrentFile(1);
4340

44-
// Remove the throw statement
4541
goTo.marker("before");
4642
edit.deleteAtCaret("throw new Error('foo');\n".length);
4743

48-
// After removing the throw, there should be no errors again
49-
// BUG: This will fail because reportedUnreachableNodes is not cleared properly
5044
verify.numberOfErrorsInCurrentFile(0);

0 commit comments

Comments
 (0)