karma-typescript-preprocessor icon indicating copy to clipboard operation
karma-typescript-preprocessor copied to clipboard

Example of .ts coverage?

Open Esqarrouth opened this issue 6 years ago • 0 comments

I'm currently using this:

        preprocessors: {
            '**/*.ts': ['typescript','coverage'], //#A
            '**/*.js': 'coverage' //#B
        },
        reporters: ['progress', 'coverage'],

With #A enabled, I'm able to run and link tests from typescript, but I get no coverage.

With #B enabled I get coverage for .js files, but still none from typescript.

I'm also using webstorm and its karma plugin.

How do we get typescript coverage?

Esqarrouth avatar Nov 09 '17 09:11 Esqarrouth