jquery/build/tasks
Michał Gołębiowski-Owczarek bc16512879
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 fae5fee8b4)
2022-07-12 17:12:27 +02:00
..
lib Tests: Exclude tests based on compilation flags, not API presence (3.x version) 2022-07-12 17:12:27 +02:00
build.js Tests: Exclude tests based on compilation flags, not API presence (3.x version) 2022-07-12 17:12:27 +02:00
dist.js Build: Require strict mode in Node.js scripts via ESLint 2019-10-09 00:24:17 +02:00
node_smoke_tests.js Build:Tests: Fix custom build tests, verify on Travis; name Travis jobs 2020-01-27 18:54:47 +01:00
promises_aplus_tests.js Build: Make Promises/A+ tests use the dot reporter instead of the default 2019-03-11 16:06:17 +01:00
qunit_fixture.js Build: Require strict mode in Node.js scripts via ESLint 2019-10-09 00:24:17 +02:00
sourcemap.js Build: Require strict mode in Node.js scripts via ESLint 2019-10-09 00:24:17 +02:00
testswarm.js Build: Require strict mode in Node.js scripts via ESLint 2019-10-09 00:24:17 +02:00