Skip to content

Commit

Permalink
fix: remove unnecessary wait from test
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmower-csnw committed Jul 31, 2024
1 parent 0a853c7 commit 4c2a342
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/specs/watch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ export default testSuite(async ({ describe }, { tsx }: NodeApis) => {
await setTimeout(watchDebounce + 10);
await fixture.writeFile(fileB, 'update-b');
} else if (chunkString.includes('update-a update-b')) {
await setTimeout(watchDebounce + 10);
await fixture.writeFile(entryFile, 'console.log("TERMINATE")');
} else if (chunkString.includes('TERMINATE')) {
tsxProcess.kill();
Expand Down

0 comments on commit 4c2a342

Please sign in to comment.