Top "Karma-coverage" questions

A plugin for Karma (code test runner) that generate code coverage.

Error: No provider for InjectionToken USE_DEFAULT_LANG

I am new to angular 4 jasmine unit testing. Kindly help me to get full test coverage for my component attached. …

angular jasmine karma-jasmine karma-coverage angular4-router
Angular4 how to enable test coverage

I am working on an Angular4 project. I am trying to set up code coverage. I created a very simple …

angular karma-runner karma-coverage
SonarQube and Lcov report Could not resolve file paths

We are trying to make a SonarQube code coverage report for our angular application. We have used Karma to generate …

javascript sonarqube istanbul karma-coverage sonarjs
Karma coverage always coming empty

I've been trying to run karma coverage for a couple of days now only to find an empty blank page …

unit-testing angular typescript karma-runner karma-coverage
Branches on constructor not covered

I am creating my unit tests with Jasmine and I have a question about the branch covered. Does anyone know …

unit-testing angular jasmine karma-jasmine karma-coverage
How to unit test model interfaces in typescript?

export interface User { name: string; } How can I unit test the above interface, so Karma could show it in the …

angular typescript jasmine karma-jasmine karma-coverage