Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 779 Bytes

readme.md

File metadata and controls

22 lines (14 loc) · 779 Bytes

Combining Typescript, Webpack, Jasmine

After reading the following question on stackoverflow.com: http://stackoverflow.com/questions/42585255/how-to-run-typescript-not-angularjs-unit-tests-with-jasmine-and-webpack

I figured, this shouldn't be to hard. And well, it kinda was.

But it's working, so that's why I'm sharing this.

The key to this was this comment: codymikol/karma-webpack#188 (comment)

That is why karma couldn't see the *.ts files

To run the app with node: npm start

To run the unittests using karma -> jasmine npm test

Build status