Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jpogran committed Sep 12, 2023
1 parent 074eea5 commit 46980bd
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/test/integration/codeAction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ suite('code actions', () => {
];

// wait till the LS is ready to acccept a code action request
await sleep(1000);
await new Promise((r) => setTimeout(r, 1000));

for (let index = 0; index < supported.length; index++) {
const wanted = supported[index];
Expand All @@ -53,9 +53,3 @@ suite('code actions', () => {
}
});
});

function sleep(ms: number) {
return new Promise((resolve) => {
setTimeout(resolve, ms);
});
}

0 comments on commit 46980bd

Please sign in to comment.