Angular unit testing: If your test isn’t running check your test file name
A quick tip to save you wasting time wondering why Karma isn’t running your test. Whilst continuing to work through Joe Eames excellent Plurasight course Unit Testing in Angular I came across a problem whereby all tests in one file was not being run by Karma. I was expecting to see tests under this heading in Karma HeroesComponent (shallow tests – child component) […]
You must be logged in to post a comment.