Skip to content

Commit

Permalink
Remove istambul loader (#10491)
Browse files Browse the repository at this point in the history
* Attempt to remove instambul loader

* removed also package dependency

* Apply suggestions from code review

clean
  • Loading branch information
offtherailz authored Oct 7, 2024
1 parent 4101360 commit fa4ca32
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
11 changes: 0 additions & 11 deletions project/standard/static/karma.conf.single-run.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};

0 comments on commit fa4ca32

Please sign in to comment.