File tree 1 file changed +0
-15
lines changed
1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -49,17 +49,6 @@ var firefox = require('selenium-webdriver/firefox');
49
49
50
50
var webpackConfig = require ( path . join ( appRoot , 'webpack.dev.config.js' ) ) ;
51
51
52
- // The following crazy bit is to work around the webpack.optimize.CommonsChunkPlugin
53
- // plugin. The problem is that it it factors out the code that defines webpackJsonp
54
- // and puts in in the commons JS, which Karma doesn't know to load first. This is a
55
- // workaround recommended in the karma-webpack bug report that basically just removes
56
- // the plugin for the purposes of Karma testing (the plugin is meant to be an
57
- // optimization only).
58
- // https://github.com/webpack-contrib/karma-webpack/issues/24#issuecomment-257613167
59
- //
60
- // This should be fixed in v3 of karma-webpack
61
- var commonsChunkPluginIndex = webpackConfig [ 0 ] . plugins . findIndex ( function ( plugin ) { return plugin . chunkNames ; } ) ;
62
-
63
52
// Files which are needed by all lms/cms suites.
64
53
var commonFiles = {
65
54
libraryFiles : [
@@ -83,10 +72,6 @@ var commonFiles = {
83
72
]
84
73
} ;
85
74
86
- webpackConfig [ 0 ] . plugins . splice ( commonsChunkPluginIndex , 1 ) ;
87
-
88
- delete webpackConfig [ 0 ] . entry ;
89
-
90
75
/**
91
76
* Customize the name attribute in xml testcase element
92
77
* @param {Object } browser
You can’t perform that action at this time.
0 commit comments