mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
bc16512879
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
)
8 lines
111 B
JavaScript
8 lines
111 B
JavaScript
"use strict";
|
|
|
|
// NOTE: keep it in sync with test/data/testinit.js
|
|
module.exports = [
|
|
"-ajax",
|
|
"-effects"
|
|
];
|