Skip to content

Commit

Permalink
chore: Adjust speed limit
Browse files Browse the repository at this point in the history
  • Loading branch information
jantimon committed Jul 9, 2019
1 parent 7f21910 commit 5acac51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/caching.spec.js
Expand Up @@ -202,7 +202,7 @@ describe('HtmlWebpackPluginCaching', () => {
.then(done);
});

it('should not slow down linear (15 plugins should not take twice as much time as a 1 plugin)', done => {
it('should not slow down linear (10 plugins should not take twice as much time as a 1 plugin)', done => {
const template = path.join(__dirname, 'fixtures/plain.html');
const createHtmlWebpackPlugin = () => new HtmlWebpackPlugin({
template: template
Expand All @@ -213,7 +213,7 @@ describe('HtmlWebpackPluginCaching', () => {
let multiCompileRunDuration;

let singleCompiler = setUpCompiler(createHtmlWebpackPlugin());
let multiCompiler = setUpCompiler.apply(null, Array(15).fill(0).map(() => createHtmlWebpackPlugin()));
let multiCompiler = setUpCompiler.apply(null, Array(10).fill(0).map(() => createHtmlWebpackPlugin()));

Promise.resolve()
.then(function singleCompileRun () {
Expand Down

0 comments on commit 5acac51

Please sign in to comment.