mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-05 19:04:43 +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) => {},
|
onTestRunFinished = async (testRun) => {},
|
||||||
} = options;
|
} = options;
|
||||||
this._breakOnFailure = breakOnFailure;
|
this._breakOnFailure = breakOnFailure;
|
||||||
this._hookTimeout = hookTimeout;
|
this._hookTimeout = hookTimeout === 0 ? 100000000 : hookTimeout;
|
||||||
this._delegate = {
|
this._delegate = {
|
||||||
onStarted,
|
onStarted,
|
||||||
onFinished,
|
onFinished,
|
||||||
|
Loading…
Reference in New Issue
Block a user