Skip to content

The most basic example I can think of a Typescript project with Karma + Webpack + full coverage

License

Notifications You must be signed in to change notification settings

mcliment/typescript-karma-webpack-coverage-sample

Repository files navigation

Typescript + Karma + Webpack + Coverage ✨

CircleCI Node.js CI codecov Known Vulnerabilities

The most basic example I can think of a Typescript project with Webpack + Karma + full coverage

Motivation 💪

I tried many routes to make this work properly. Some people have enough with a coverage report from the js file generated by webpack but I wanted a better user experience and invested some time finding a good solution.

In the proposed solution, karma-typescript can be also used instead of going through the webpack route but in more complex scenarios reusing the main webpack configuration may be very convenient.

Notable packages 🎁

About

The most basic example I can think of a Typescript project with Karma + Webpack + full coverage

Topics

Resources

License

Stars

Watchers

Forks