How to run front end tests?

Answered

Hi guys, 

I'm using the Angualr 2 template. I'm wondering if it's possible to run the front end jasmine / karma tests from within Rider?

0
2 comments

Angular*

0

Absolutely! I you have the *.spec.ts files, the Unit Tests tool window will display the tests. Note that for the tests do be discovered and run by Jasmine, they have to be in JavaScript format. IF you have any tests in TypeScript, make sure they are transpiled before running tests. Here is an example:

0

Please sign in to leave a comment.