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
If a lifecycle hook (e.g. beforeEach) times out, the traceback will point to the runHooks function in the test runner, not the line that timed out (or even the beforeEach etc. that timed out)
This may also occur from timeouts in tests, this should be checked and fixed as part of this ticket if it does
We additionally need to make sure that this doesn’t error the entire runtime, and instead just marks the test as failed
This is most likely an issue with our timed function util
Scope
todo: scope this
Acceptance criteria
Timeout errors thrown from lifecycle hooks point to the line that timed out, or if that is not possible, then the line where the lifecycle hook was registered (i.e. beforeEach(function())
Context
beforeEach) times out, the traceback will point to therunHooksfunction in the test runner, not the line that timed out (or even thebeforeEachetc. that timed out)Scope
todo: scope this
Acceptance criteria
beforeEach(function())