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
Consider the below sample react code- (The code is to perform toggling when clicking a tab. when we click a tab, it becomes active and remaining all becomes inactive.)
The above code, test is working perfectly. But i want to know whether the actual functionlity is happening? That is, when i check whether toggle functionality is working, it actually doesnt. When i click tab1, the tab2 must go inactive. but when i check for the inactive tab using "find()" its not found. So any idea about these guys?
Same way i have another doubt- On simulating a submit button, the submit functionality should actually work right? but when i check whether submitted data is saved in database, its not yet saved
The text was updated successfully, but these errors were encountered:
Consider the below sample react code- (The code is to perform toggling when clicking a tab. when we click a tab, it becomes active and remaining all becomes inactive.)
Now Below is the test i have written in enzyme:-
The above code, test is working perfectly. But i want to know whether the actual functionlity is happening? That is, when i check whether toggle functionality is working, it actually doesnt. When i click tab1, the tab2 must go inactive. but when i check for the inactive tab using "find()" its not found. So any idea about these guys?
Same way i have another doubt- On simulating a submit button, the submit functionality should actually work right? but when i check whether submitted data is saved in database, its not yet saved
The text was updated successfully, but these errors were encountered: