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
When I skip tests (either with .only or .skip) the code inside the skipped tests seems to still be running but the expectations are omitted. This is particularly bothering when using console.logs inside the tested code since you don't know which case is running.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I skip tests (either with .only or .skip) the code inside the skipped tests seems to still be running but the expectations are omitted. This is particularly bothering when using console.logs inside the tested code since you don't know which case is running.
example:
In this case we'll see 2 logs. I would expect that the skipped tests don't run at all so we can only see one log.
Is it correct to see 2 logs? In that case, how do you debug your code when a test is failing?
Beta Was this translation helpful? Give feedback.
All reactions