jquery/test
Michał Gołębiowski-Owczarek 437f389a24
Build: Make dev mode work in Karma again, serve source files from disk
PR gh-4550 added support for running ES modules & AMD tests via Karma. This
required reading the `esmodules` & `amd` props from both `QUnit.config` &
`QUnit.urlParams`. By picking these two properties manually, the `dev` one
stopped being respected while ones handled directly by QUnit were fine (like
`hidepassed`). Instead of maintaining the full list of options, the code now
iterates over QUnit URL config and handles the fallbacks in a more generic way.

Apart from that, all jQuery source & test files are now read directly from disk
instead of being cached by Karma so that one can run `grunt karma:chrome-debug`
& work on a fix without restarting that Karma run after each change. A similar
effect could have been achieved by setting `autoWatch` to `true` but then the
main Karma page runs tests in an iframe by default when
`grunt karma:chrome-debug` is run instead of relying on the current debug flow.

Closes gh-4574
Ref gh-4550
2020-01-08 00:35:55 +01:00
..
data Build:Tests: Fix custom build tests, verify on Travis 2020-01-07 23:59:08 +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 Build:Tests: Fix custom build tests, verify on Travis 2020-01-07 23:59:08 +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 Build: Make Karma work in ES modules mode 2019-12-16 19:33:49 +01:00
jquery.js Build: Make dev mode work in Karma again, serve source files from disk 2020-01-08 00:35:55 +01:00
karma.context.html Build: Make Karma work in ES modules mode 2019-12-16 19:33:49 +01:00
karma.debug.html Build: Make Karma work in ES modules mode 2019-12-16 19:33:49 +01: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