jquery/test
Michał Gołębiowski-Owczarek d0ce00cdfa
Core: Migrate from AMD to ES modules 🎉
Migrate all source AMD modules to ECMAScript modules. The final bundle
is compiled by a custom build process that uses Rollup under the hood.

Test files themselves are still loaded via RequireJS as that has to work in
IE 11.

Tests can now be run in "Load as modules" mode which replaces the previous
"Load with AMD" option. That option of running tests doesn't work in IE
and Edge as it requires support for dynamic imports.

Some of the changes required by the migration:
* check `typeof` of `noGlobal` instead of using the variable directly
  as it's not available when modules are used
* change the nonce module to be an object as ECMASscript module exports
  are immutable
* remove some unused exports
* import `./core/parseHTML.js` directly in `jquery.js` so that it's not
  being cut out when the `ajax` module is excluded in a custom compilation

Closes gh-4541
2019-11-18 21:15:03 +01:00
..
data Core: Migrate from AMD to ES modules 🎉 2019-11-18 21:15:03 +01:00
integration Event: Fix delegated radio events when arrow keys are used 2015-10-18 13:06:37 -04:00
node_smoke_tests Build: Update jsdom; migrate a test with Symbol polyfill to an iframe test 2019-03-04 18:30:51 +01:00
promises_aplus_adapters Build: Update jsdom; migrate a test with Symbol polyfill to an iframe test 2019-03-04 18:30:51 +01:00
unit Tests: Skip a "width/height on a table row with phantom borders" test in Firefox 2019-10-28 20:43:39 +01:00
.eslintrc.json Core: Migrate from AMD to ES modules 🎉 2019-11-18 21:15:03 +01:00
delegatetest.html Tests: Change quotes according to style guidelines 2015-10-18 13:17:23 -04:00
hovertest.html Ref #13316: Sync all documents on full vs. minified source. Close gh-1147. 2013-02-07 15:16:28 -05:00
index.html Core: Migrate from AMD to ES modules 🎉 2019-11-18 21:15:03 +01:00
jquery.js Core: Migrate from AMD to ES modules 🎉 2019-11-18 21:15:03 +01:00
karma.context.html Tests: Add support for running unit tests via grunt with karma 2017-12-18 12:27:38 -05:00
karma.debug.html Build: Remove the external directory, read from node_modules directly 2019-08-26 18:53:54 +02:00
localfile.html Ref #13316: Sync all documents on full vs. minified source. Close gh-1147. 2013-02-07 15:16:28 -05:00
middleware-mockserver.js Ajax: Do not execute scripts for unsuccessful HTTP responses 2019-09-26 02:43:30 +02:00
networkerror.html Docs: Updated links to https where they are supported. 2016-01-13 13:26:10 -05:00
xhtml.php Added a way to run the test suite as an XHTML page. 2009-01-19 18:14:51 +00:00