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
PASSING! 1) Testing invocation of a dispatch prop after fetch resolution (within .then() block)
Error - FAILING - NUMBER OF CALLS: 0
it('should invoke updateLoggedInStatus with true when fetchRatings has resolved', () => {
fetchRatings(9);
expect(mockUpdateLoggedInStatus).toHaveBeenCalled();
});
PASSING! 2) Testing invocation of a dispatch prop after fetch resolution (within .then() block)
Error - FAILING - NUMBER OF CALLS: 0
it('should invoke updateUser with data passed in when fetchRatings has resolved', async () => {
await fetchRatings(9);
expect(mockupdateUser).toHaveBeenCalled();
});
PASSING! 3) HOW WILL WE TEST WHETHER HANDLEERROR IS INVOKED IN .CATCH() FOR FETCH?
MovieShowPage - PASSING!
Testing invocation of a dispatch prop after fetch resolution (within .then() block)
Error - FAILING - NUMBER OF CALLS: 0
Navigation Bar - STILL FAILING
Component:
Login Form - PASSING!
PASSING! 1) Testing invocation of a dispatch prop after fetch resolution (within .then() block)
Error - FAILING - NUMBER OF CALLS: 0
PASSING! 2) Testing invocation of a dispatch prop after fetch resolution (within .then() block)
Error - FAILING - NUMBER OF CALLS: 0
PASSING! 3) HOW WILL WE TEST WHETHER HANDLEERROR IS INVOKED IN .CATCH() FOR FETCH?
MovieShowPage - PASSING!
Error - FAILING - NUMBER OF CALLS: 0
DeleteRating Async- PASSING!
The text was updated successfully, but these errors were encountered: