diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2022-07-12 17:12:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-12 17:12:27 +0200 |
commit | bc16512879bd81de9874bffa690404e14e8f43ff (patch) | |
tree | d6bda9401d77c87014b8d7574e56468541125cee /test/index.html | |
parent | 0f6c3d9efc5f7e844bdcf8ef44f9327f414bea77 (diff) | |
download | jquery-bc16512879bd81de9874bffa690404e14e8f43ff.tar.gz jquery-bc16512879bd81de9874bffa690404e14e8f43ff.zip |
Tests: Exclude tests based on compilation flags, not API presence (3.x version)
Introduces a new test API, `includesModule`. The method returns whether
a particular module like "ajax" or "deprecated" is included in the current
jQuery build; it handles the slim build as well. The util was created so that
we don't treat presence of particular APIs to decide whether to run a test as
then if we accidentally remove an API, the tests would still not fail.
Closes gh-5071
Fixes gh-5069
Ref gh-5046
(partially cherry picked from commit fae5fee8b435cc20352d28b0a384b9784b1ad9ed)
Diffstat (limited to 'test/index.html')
0 files changed, 0 insertions, 0 deletions