Skip to content

Commit

Permalink
tests: add case for stats summary preset for webpack 5 (#1808)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Sep 18, 2020
1 parent 1bd9ac9 commit 4dc6dfb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/stats/cli-flags/stats.test.js
Expand Up @@ -5,6 +5,10 @@ const { run, isWebpack5 } = require('../../utils/test-utils');

const presets = ['normal', 'detailed', 'errors-only', 'errors-warnings', 'minimal', 'verbose', 'none'];

if (isWebpack5) {
presets.push('summary');
}

describe('stats flag', () => {
for (const preset of presets) {
it(`should accept --stats "${preset}"`, () => {
Expand Down

0 comments on commit 4dc6dfb

Please sign in to comment.