Skip to content

Commit

Permalink
tests: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Oct 4, 2020
1 parent 3047771 commit 82b935d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/webpack-cli/__tests__/resolveAdvanced.test.js
Expand Up @@ -17,6 +17,13 @@ describe('advanced options', function () {
expect(result.options.plugins[0].constructor.name).toEqual('PrefetchPlugin');
});

it('should load the webpack-bundle-analyzer plugin', () => {
const result = resolveAdvanced({
analyze: true,
});
expect(result.options.plugins[0].constructor.name).toEqual('BundleAnalyzerPlugin');
});

{
targetValues.map((option) => {
it(`should handle ${option} option`, () => {
Expand Down

0 comments on commit 82b935d

Please sign in to comment.