mirror of
https://github.com/jquery/jquery.git
synced 2026-01-14 10:47:59 -05:00
The module/nomodule tests are the most flaky ones, contributing significantly to increase number of test failures (somewhat mitigated by auto-retries). Fix flakiness of module/nomodule tests: 1. For module tests, increase the timeout to 5 seconds. In order for most tests to not wait that long, change callbacks called by module scripts to verify the results as soon as all scripts have run. 2. For nomodule tests, run the check in 1 second. All modern browsers will need to wait that long, hence a smaller timeout, and if occasionally the check runs too quickly, the test will still pass. Closes gh-5699
4 lines
106 B
JavaScript
4 lines
106 B
JavaScript
/* global innerExternalCallback */
|
|
|
|
innerExternalCallback( "evaluated: inner nomodule script with src" );
|