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
In a Karma + jasmine setup, I need to explicitly call detectChanges after I've used the @testing-library/user-event#click event on a button that routes to another component. Is that how it should behave or am I doing something wrong here?
In angular-testing-library/apps/example-app-karma/src/app/examples/login-form.spec.ts i've added the following test. If the detectChanges call is removed the test fails.
In a Karma + jasmine setup, I need to explicitly call detectChanges after I've used the @testing-library/user-event#click event on a button that routes to another component. Is that how it should behave or am I doing something wrong here?
In
angular-testing-library/apps/example-app-karma/src/app/examples/login-form.spec.ts
i've added the following test. If thedetectChanges
call is removed the test fails.The text was updated successfully, but these errors were encountered: