Skip to content

Commit

Permalink
Fix bug keeping test process alive for too long
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron committed Sep 16, 2024
1 parent 25f240d commit 87a9228
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/LanguageServerManager.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ describe('LanguageServerManager', () => {
fsExtra.removeSync(storageDir);
(languageServerManager['context'] as any).globalStorageUri = URI.file(storageDir);

//this delay is used to clean up old versions. for testing, have it trigger instantly so it doesn't keep the testing process alive
languageServerManager['outdatedBscVersionDeleteDelay'] = 0;

});

function stubConstructClient(processor?: (LanguageClient) => void) {
Expand Down

0 comments on commit 87a9228

Please sign in to comment.