mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
fix(testrunner): respect timeout=0 in hooks (#1764)
This commit is contained in:
parent
29a6cdff6b
commit
a3571c24c4
@ -384,7 +384,7 @@ class TestRunner {
|
||||
onTestRunFinished = async (testRun) => {},
|
||||
} = options;
|
||||
this._breakOnFailure = breakOnFailure;
|
||||
this._hookTimeout = hookTimeout;
|
||||
this._hookTimeout = hookTimeout === 0 ? 100000000 : hookTimeout;
|
||||
this._delegate = {
|
||||
onStarted,
|
||||
onFinished,
|
||||
|
Loading…
Reference in New Issue
Block a user