You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using the example you have on testing an EventEmitter and I discovered that my test was passing because the test runner could not find an expectation. Try changing the expect inside the subscription to be something you know will fail (like expect false to equal true) and your test might still come back that it passed.
Maybe I just have something setup incorrectly so I'm sorry if I'm wrong about this but I just wanted to give you a warning.
The text was updated successfully, but these errors were encountered:
https://github.com/thelgevold/angular-2-samples/blob/master/unit-test-scenarios/event-emitter/event-emitter-spec.ts
I was using the example you have on testing an EventEmitter and I discovered that my test was passing because the test runner could not find an expectation. Try changing the expect inside the subscription to be something you know will fail (like expect false to equal true) and your test might still come back that it passed.
Maybe I just have something setup incorrectly so I'm sorry if I'm wrong about this but I just wanted to give you a warning.
The text was updated successfully, but these errors were encountered: