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
I wanted to try setting up automatic retries, so I ejected my jest config, and added a setupFilesAfterEnv. But when running tests, I got TypeError: globalThis.__sbPostVisit is not a function when a failure happened in a test.
To Reproduce
Eject
Add setupFilesAfterEnv, point it to a file (the file doesn't have to do anything)
Add await expect('foo').toBe('bar'); in a play function
Describe the bug
I wanted to try setting up automatic retries, so I ejected my jest config, and added a
setupFilesAfterEnv
. But when running tests, I gotTypeError: globalThis.__sbPostVisit is not a function
when a failure happened in a test.To Reproduce
setupFilesAfterEnv
, point it to a file (the file doesn't have to do anything)await expect('foo').toBe('bar');
in a play functionSystem
Additional context
Using
setupFiles
instead works fine.The text was updated successfully, but these errors were encountered: