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
can anyone explain to me why adding screen.debug or logTestingPlaygroundURL to the test code makes the test pass?
I was refactoring a test, trying to speed it up a bit by replacing the unnecessary find* selector with the query selector (when I check that something is not on the page) but it made one of my tests fail and I tried to debug it and I can't because adding debug printings makes the test pass ¯\(ツ)/¯
I'm not even adding a new import of the screen - it is already there.
jest.bug.720.mov
can anyone explain to me why adding screen.debug or logTestingPlaygroundURL to the test code makes the test pass?
I was refactoring a test, trying to speed it up a bit by replacing the unnecessary
find*
selector with thequery
selector (when I check that something is not on the page) but it made one of my tests fail and I tried to debug it and I can't because adding debug printings makes the test pass ¯\(ツ)/¯I'm not even adding a new import of the screen - it is already there.
Any thoughts?
The text was updated successfully, but these errors were encountered: