Skip to content

Commit

Permalink
Adjust testing
Browse files Browse the repository at this point in the history
  • Loading branch information
masotime committed Mar 7, 2017
1 parent 2044197 commit 6dc2d88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ test('watch one file', async t => {
await fs.unlinkAsync(filePath);
stopWatching();

await sleep(1000);
t.end();
});

Expand Down Expand Up @@ -118,5 +119,7 @@ test('cannot watch everything after watching something', async (t) => {

await fs.unlinkAsync(filePath);
stopWatching();

await sleep(1000);
t.end();
})

0 comments on commit 6dc2d88

Please sign in to comment.