Skip to content

Basic example of creating jasmine unittests in typescript while using webpack

License

Notifications You must be signed in to change notification settings

SierraNL/webpack-typescript-jasmine

Repository files navigation

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

About

Basic example of creating jasmine unittests in typescript while using webpack

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •