We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d51f42 commit 5ed6d08Copy full SHA for 5ed6d08
1 file changed
packages/codegen/src/runner.test.ts
@@ -49,8 +49,7 @@ describe('runCMKInWatchMode', () => {
49
50
console.log('update file');
51
await writeFile(textFilePath, '2');
52
- await vi.waitFor(() => {
53
- assert(globalThis.changeCount === 2, `Expected changeCount to be 2, but got ${globalThis.changeCount}`);
54
- });
+ await sleep(1000);
+ assert(globalThis.changeCount === 2, `Expected changeCount to be 2, but got ${globalThis.changeCount}`);
55
});
56
0 commit comments