Answer the question
In order to leave comments, you need to log in
How to debug unit tests?
Please tell me how to debug a unit test. For example, a project uses jest for testing. in one of the it blocks i have an error. I don’t know what it is, but the message after testing the tests is this:
● PageComponent › should redirect
Cannot spyOn on a primitive value; undefined given
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question