Skip to content

Commit

Permalink
remove karma-remap-istanbul dev dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoschenkel committed Oct 20, 2019
1 parent 81e0b81 commit df49559
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 597 deletions.
19 changes: 5 additions & 14 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,17 @@ module.exports = config => {
var configuration = {
client: {
mocha: {
timeout : 5000
timeout: 5000
}
},
basePath: "",
frameworks: [
"mocha",
"sinon-chai",
"es6-shim"
],
frameworks: ["mocha", "sinon-chai", "es6-shim"],
files: [
{ pattern: "node_modules/reflect-metadata/Reflect.js", include: true },
{ pattern: "node_modules/bluebird/js/browser/bluebird.js", include: true },
{ pattern: "node_modules/phaser-ce/build/phaser.js", include: true },
{ pattern: "./test/index.ts", include: true },
{ pattern: '**/*.map', served: true, included: false, watched: true }
{ pattern: "**/*.map", served: true, included: false, watched: true }
],
preprocessors: {
"./test/index.ts": ["webpack"],
Expand All @@ -42,21 +38,16 @@ module.exports = config => {
"karma-webpack",
"karma-sourcemap-writer",
"karma-sourcemap-loader",
"karma-remap-istanbul",
"karma-mocha-reporter",
"karma-mocha",
"karma-sinon-chai",
"karma-es6-shim",
"karma-coverage-istanbul-reporter"
],
mime: {
"text/x-typescript": ["ts","tsx"]
"text/x-typescript": ["ts", "tsx"]
},
reporters: (
config.singleRun ?
["dots", "mocha", "coverage-istanbul"] :
["dots", "mocha"]
),
reporters: config.singleRun ? ["dots", "mocha", "coverage-istanbul"] : ["dots", "mocha"],
coverageIstanbulReporter: {
reports: ["html", "lcov", "lcovonly", "text-summary"],
dir: "coverage",
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
"karma-es6-shim": "^1.0.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-remap-istanbul": "^0.6.0",
"karma-sinon-chai": "^2.0.2",
"karma-sourcemap-loader": "^0.3.7",
"karma-sourcemap-writer": "^0.1.2",
Expand All @@ -92,7 +91,6 @@
"publish-please": "^5.5.1",
"puppeteer": "^1.20.0",
"reflect-metadata": "^0.1.13",
"remap-istanbul": "^0.13.0",
"rimraf": "^3.0.0",
"sinon": "^7.5.0",
"sinon-chai": "^3.3.0",
Expand Down
Loading

0 comments on commit df49559

Please sign in to comment.