mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +00:00
Tests: Don't attempt to set test timeout if internals is not exposed
Previously, test output would not be displayed for tests setting a long timeout, if the internals object was not exposed.
This commit is contained in:
parent
72ca91ad1a
commit
7f8ba951cb
Notes:
github-actions[bot]
2025-01-03 10:48:17 +00:00
Author: https://github.com/tcl3
Commit: 7f8ba951cb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3089
1 changed files with 1 additions and 1 deletions
|
@ -559,7 +559,7 @@
|
||||||
// Tell the ladybird test runner what our preferred timeout is
|
// Tell the ladybird test runner what our preferred timeout is
|
||||||
{
|
{
|
||||||
let timeout = test_environment.test_timeout();
|
let timeout = test_environment.test_timeout();
|
||||||
if (timeout)
|
if (timeout && window.internals)
|
||||||
window.internals.setTestTimeout(timeout);
|
window.internals.setTestTimeout(timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue