Skip to content

Commit

Permalink
need to have syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonlyu123 committed Dec 22, 2024
1 parent df4c1a7 commit ab6df4d
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,11 +327,9 @@ describe('service', () => {
const lang = ls.getService();
lang.getProgram();

document2.update(' ', 0, document2.getTextLength());
document2.update('<script', 0, document2.getTextLength());
ls.updateSnapshot(document2);
assert.doesNotThrow(() => {
lang.getProgram();
});
ls.getService();
});

it.only('do not throw when lang="ts" is nuke while a new files is added', async () => {
Expand Down

0 comments on commit ab6df4d

Please sign in to comment.