You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Closesgh-5071Fixesgh-5069
Ref gh-5046
(partially cherry picked from commit fae5fee)
Copy file name to clipboardexpand all lines: test/unit/ajax.js
+1-1
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ QUnit.module( "ajax", {
13
13
assert.ok(!isLocal,"Unit tests are not ran from file:// (especially in Chrome. If you must test from file:// with Chrome, run it with the --allow-file-access-from-files flag!)");
0 commit comments