Skip to content

Commit 2857955

Browse files
committed
🔧 add mocha reporter
1 parent ae5506f commit 2857955

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

package-lock.json

+48
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"build": "ng build",
88
"watch": "ng build --watch --configuration development",
99
"test": "ng test",
10+
"test:cov": "npm run test -- --no-watch --code-coverage --browsers=ChromeHeadlessCI",
1011
"lint": "ng lint",
1112
"lint:fix": "npx eslint src/app/**/*.{js,jsx,ts,tsx,html} --quiet --fix",
1213
"prepare": "husky install"
@@ -51,6 +52,7 @@
5152
"karma-coverage": "~2.1.0",
5253
"karma-jasmine": "~4.0.0",
5354
"karma-jasmine-html-reporter": "~1.7.0",
55+
"karma-mocha-reporter": "^2.2.5",
5456
"lint-staged": "^13.2.1",
5557
"typescript": "~4.5.2"
5658
}

0 commit comments

Comments
 (0)