mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
fae5fee8b4
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. Fixes gh-5069 Closes gh-5046
11 lines
151 B
JavaScript
11 lines
151 B
JavaScript
"use strict";
|
|
|
|
// NOTE: keep it in sync with test/data/testinit.js
|
|
module.exports = [
|
|
"-ajax",
|
|
"-callbacks",
|
|
"-deferred",
|
|
"-effects",
|
|
"-queue"
|
|
];
|