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 47a0cac
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -16,6 +16,8 @@ const run = (async function* () {
);

assert.match(yield, /Successfully compiled 1 file with Babel \(\d+ms\)\./);
// wait 200ms for compiled file saved to fs
await new Promise(resolve => setTimeout(resolve, 200));
})();

run.next();
Expand Down

0 comments on commit 47a0cac

Please sign in to comment.