diff --git a/package.json b/package.json index e7b0a9adc3..e42facf860 100644 --- a/package.json +++ b/package.json @@ -196,7 +196,6 @@ "intersection-observer": "0.7.0", "intl": "1.2.2", "ismobilejs": "0.5.0", - "istanbul-instrumenter-loader": "3.0.1", "json-2-csv": "5.5.1", "jsonlint-mod": "1.7.5", "jsonpath": "1.1.1", diff --git a/project/standard/static/karma.conf.single-run.js b/project/standard/static/karma.conf.single-run.js index f4069c30d5..50d3f10426 100644 --- a/project/standard/static/karma.conf.single-run.js +++ b/project/standard/static/karma.conf.single-run.js @@ -15,16 +15,5 @@ module.exports = function karmaConfig(config) { "@js": path.resolve(__dirname, "js") } }); - testConfig.webpack.module.rules = [{ - test: /\.jsx?$/, - exclude: /(__tests__|node_modules|legacy|libs\\Cesium|libs\\html2canvas)\\|(__tests__|node_modules|legacy|libs\/Cesium|libs\/html2canvas)\/|webpack\.js|utils\/(openlayers|leaflet)/, - enforce: "post", - use: [ - { - loader: 'istanbul-instrumenter-loader', - options: { esModules: true } - } - ] - }, ...testConfig.webpack.module.rules]; config.set(testConfig); };