aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/wrap.js
Commit message (Collapse)AuthorAgeFilesLines
* Core: Simplify code post browser support reductionMichał Gołębiowski-Owczarek2023-09-201-1/+1
| | | | | | | | | | | | | | | | | Summary of the changes: * Core: Simplify code post browser support reduction * Tests: Remove legacy jQuery.cache & oldIE leftovers * Tests: Reformat JavaScript in delegatetest.html * Docs: "jQuery Foundation Projects" -> "jQuery Projects" * Tests: Drop an unused localfile.html file (modern browsers don't support the `file:` protocol this way, there's no point in keeping the file around) * Effects: Remove a redundant `!fn` check (`fn || !fn && easing` is equivalent to `fn || easing`; simplify the code) * CSS: Explain the fallback to direct object access in curCSS better * Tests: Deduplicate `jQuery.parseHTML` test titles * Dimensions: Add a test for fractional values * Tests: Fix a buggy WebKit regex Closes gh-5296
* Tests: Exclude tests based on compilation flags, not API presenceMichał Gołębiowski-Owczarek2022-06-281-1/+1
| | | | | | | | | | 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
* Docs: Replace `#NUMBER` Trac issue references with `trac-NUMBER`Michał Gołębiowski-Owczarek2022-01-041-6/+6
| | | | | | | | | | | | | The GitHub UI treats `#NUMBER` as referring to its own issues which is confusing when in jQuery source it's usually referring to the old deprecated Trac instance at https://bugs.jquery.com. This change replaces all such Trac references with `trac-NUMBER`. A few of the references came with the Sizzle integration and referred to the Sizzle GitHub bug tracker. Those have been replaced with full links instead. A new entry describing issue reference conventions has been added to README. Closes gh-4993
* Tests: Remove remaining obsolete jQuery.cache referencesMichał Gołębiowski-Owczarek2020-05-181-14/+1
| | | | | | PR gh-4586 removed some of those but not all. Closes gh-4715 Ref gh-4586
* Manipulation: Make jQuery.htmlPrefilter an identity functionMichał Gołębiowski-Owczarek2020-03-161-6/+6
| | | Closes gh-4642
* Build: Update test code for compatibility with QUnit 2.x (#4297)abnud12019-02-181-2/+2
| | | | | | | | Also, run `grunt npmcopy` to sync the "external" directory with dependencies from package.json. For example, the Sinon library version didn't match. Ref gh-4234 Closes gh-4297
* Tests: Replace non-ASCII whitespace in source codeRichard Gibson2017-07-311-1/+1
|
* Build: ESLint detailsOleg Gaidarenko2016-06-111-1/+1
| | | | | | Use eslint pragmas, fix new errors, etc Closes gh-3148
* Docs:Tests: Remove legacy code & add support comments where neededMichał Gołębiowski2016-03-301-1/+1
| | | | | | | | This commits backports some changes done in the patch to the then-existing compat branch that removed support for old browsers and added some support comments. Refs 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-186/+365
| | | | Fixes gh-2056
* Tests: partially use new qunit interfaceOleg Gaidarenko2015-08-161-112/+112
| | | | | | | | | | | | http://qunitjs.com/upgrade-guide-2.x/ For most of the boring work was used https://github.com/apsdehal/qunit-migrate package However, it can't update local qunit helpers, plus in some places old QUnit.asyncTest signature is still used Fixes gh-2540
* Tests: don't use deprecated argument in test declarationOleg Gaidarenko2015-07-301-2/+6
| | | | Closes gh-2507
* Wrap: Support .unwrap( selector) for selective unwrappingDave Methvin2015-03-301-0/+25
| | | | | Fixes gh-1744 Closes gh-2003
* Manipulation: make wrapAll funarg execute only onceOleg Gaidarenko2014-12-241-0/+30
| | | | | Fixes gh-1843 Closes gh-1912
* Tests: remove all the empty line whitespaceRick Waldron2014-02-111-4/+4
|
* Tests: Avoid use of QUnit.reset() in tests by splitting themcjqed2013-12-231-26/+60
| | | | | Fix #14040 Close gh-1457
* Fix #14340. Remove remnants of oldIE from unit tests. Close gh-1425.Michał Gołębiowski2013-11-111-1/+0
|
* Update jshintrc to conform to new style guide. Conform to onevar and unused ↵Timmy Willison2013-04-091-14/+14
| | | | in tests. Fixes #13755.
* Separate test/unit/wrap.js; make tests not fail when wrap module excludedMichał Gołębiowski2013-04-091-0/+265