Skip to content

Commit

Permalink
fix: wait more time for Window 😢 (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
popomore authored and atian25 committed Oct 28, 2016
1 parent d1c651d commit d6f6b3b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/cov_command.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ class CovCommand extends Command {
yield this.helper.forkNode(covFile, covArgs, opt);
rimraf.sync(process.env.TMPDIR);

// wait 1 second for Windows
yield sleep(1000);
// wait 5 second for Windows
if (process.platform === 'win32') {
yield sleep(5000);
}

// create coverage report
const reportArgs = this.getReportArgs(coverageDir);
Expand Down

0 comments on commit d6f6b3b

Please sign in to comment.