Skip to content

Commit

Permalink
Give less time before rejecting
Browse files Browse the repository at this point in the history
  • Loading branch information
valscion committed Oct 1, 2021
1 parent f0754e5 commit 767c04a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/dev-server.js
Expand Up @@ -32,7 +32,7 @@ describe('Webpack Dev Server', function () {
reportCheckIntervalId = setInterval(() => {
if (fs.existsSync(`${webpackConfig.output.path}/report.html`)) {
resolve();
} else if (Date.now() - startedAt > timeout - 1000) {
} else if (Date.now() - startedAt > timeout - 3000) {
reject(new Error(`report file wasn't found in "${webpackConfig.output.path}" directory`));
}
}, 300);
Expand Down

0 comments on commit 767c04a

Please sign in to comment.