-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No coverage table by npm run karma #115
Comments
I also get no coverage from I wouldn't put too much time into it, it's a debug mode anyway so you're not going to be looking there for coverage. If anything coverage data is going to just get in the way when we're trying to debug. We could disable coverage in debug mode: x220:~/code/clicker$ git diff test/gulpfile.ts
diff --git a/test/gulpfile.ts b/test/gulpfile.ts
index 85a6a37..fc4b19d 100644
--- a/test/gulpfile.ts
+++ b/test/gulpfile.ts
@@ -71,6 +71,7 @@ gulp.task('karma-debug', (done: Function) => {
configFile: join(process.cwd(), config.testDir, 'karma.config.js'),
singleRun: false,
browsers: ['Chrome'],
+ reporters: ['mocha'],
}; |
Good plan! The coverage/ folder works good when running karma. (Maybe good to know) |
@mbakker96 What do you mean, sorry? |
Leaving open to track the above change |
When you run npm run karma the coverage website is created without any errors |
Interesting, thanks. |
Hi,
I don't get a coverage table after running
npm run karma
in the clicker app and my own project.I'm trying to solve this problem by reading the coverage documentation and look for difference in the code and the docs.
Martijn
The text was updated successfully, but these errors were encountered: