Skip to content

Commit

Permalink
fix: wait another 200ms for saving files
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Feb 18, 2022
1 parent f162e71 commit 50e2a10
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -15,6 +15,9 @@ const run = (async function* () {
`let str = REPLACE_ME + REPLACE_ME;`
);

// wait 200ms for compiled file saved to fs
await new Promise(resolve => setTimeout(resolve, 200));

assert.match(yield, /Successfully compiled 1 file with Babel \(\d+ms\)\./);
})();

Expand Down

0 comments on commit 50e2a10

Please sign in to comment.