Skip to content

Commit 1ca7dff

Browse files
committed
Remove duplicate addPlugin test case
1 parent 2cae5df commit 1ca7dff

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

test/WebpackConfig.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -375,19 +375,6 @@ describe('WebpackConfig object', () => {
375375
});
376376
});
377377

378-
describe('addPlugin', () => {
379-
it('extends the current registered plugins', () => {
380-
const config = createConfig();
381-
const nbOfPlugins = config.plugins.length;
382-
383-
expect(nbOfPlugins).to.equal(0);
384-
385-
config.addPlugin(new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/));
386-
387-
expect(config.plugins.length).to.equal(1);
388-
});
389-
});
390-
391378
describe('enableVueLoader', () => {
392379
it('Call with no config', () => {
393380
const config = createConfig();

0 commit comments

Comments
 (0)