3 Commits

Author SHA1 Message Date
Michał Gołębiowski-Owczarek
5964acf330 Tests: Fix module/nomodule tests flakiness
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
2025-09-15 18:27:13 +02:00
abnud1
c349818742 Build: Update test code for compatibility with QUnit 2.x (#4297)
Also, run `grunt npmcopy` to sync the "external" directory with dependencies
from package.json. For example, the Sinon library version didn't match.

Ref gh-4234
Closes gh-4297
2019-02-18 19:03:26 +01:00
basil.belokon
5d3a968e03 Manipulation: Add support for scripts with module type
Fixes gh-3871
Close gh-3869
2018-01-16 11:39:16 -05:00