karma-typescript-preprocessor
karma-typescript-preprocessor copied to clipboard
Example of .ts coverage?
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?