I just had another terrible experience this week with TestBed and mocking stuff. In the end I'm not even sure anymore for what use cases I would want to use it. The interface is tested through the e2e suite and the rest gets tested with a solid unit test framework like Jest.
(Almost?) no need for TestBed at all.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I just had another terrible experience this week with TestBed and mocking stuff. In the end I'm not even sure anymore for what use cases I would want to use it. The interface is tested through the e2e suite and the rest gets tested with a solid unit test framework like Jest.
(Almost?) no need for TestBed at all.