Skip to content

Allow specifying timeout in tests via third argument#29006

Merged
eps1lon merged 1 commit intofacebook:mainfrom
eps1lon:strictEffects/test-timeout
May 7, 2024
Merged

Allow specifying timeout in tests via third argument#29006
eps1lon merged 1 commit intofacebook:mainfrom
eps1lon:strictEffects/test-timeout

Conversation

@eps1lon
Copy link
Copy Markdown
Collaborator

@eps1lon eps1lon commented May 6, 2024

Summary

Enables extending the timeout via test(name, callback, timeoutMS) when the test is gated. Extending the timeout is mostly useful with a debugger attached. With the debugger attached, you easily exceed the 5s timeout.

How did you test this change?

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants