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'm trying to configure timeouts but they are being ignored.
What do you get instead?
I would like configured timeouts to be respected.
Details
There are a few places in the code where [Runnable].timeout(0) is being called (here, here, here, etc.). There was a bug in Runnable.timeout prior to mocha v8.0.1 which caused timeouts to remain permanently disabled after being set to zero. Would it be possible to upgrade mocha, or to change all occurrences of [Runnable].timeout(0) to [Runnable].timeout(Number.MAX_SAFE_INTEGER)? I'd be glad to handle the latter, but upgrading mocha caused a bunch of tests to fail and I don't have time to resolve those at the moment. Let me know—thanks!
The text was updated successfully, but these errors were encountered:
Thanks @Vorobeyko! I see that's tagged for the 3.0 release. In the meantime, would you be open to a PR that fixes this as described above? If not—do you have an ETA for that release?
What are you trying to achieve?
I'm trying to configure timeouts but they are being ignored.
What do you get instead?
I would like configured timeouts to be respected.
Details
There are a few places in the code where
[Runnable].timeout(0)
is being called (here, here, here, etc.). There was a bug inRunnable.timeout
prior to mocha v8.0.1 which caused timeouts to remain permanently disabled after being set to zero. Would it be possible to upgrade mocha, or to change all occurrences of[Runnable].timeout(0)
to[Runnable].timeout(Number.MAX_SAFE_INTEGER)
? I'd be glad to handle the latter, but upgrading mocha caused a bunch of tests to fail and I don't have time to resolve those at the moment. Let me know—thanks!The text was updated successfully, but these errors were encountered: