]> source.dussan.org Git - jquery.git/commit
Tests: Add support for running unit tests via grunt with karma
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 1 Aug 2017 16:52:45 +0000 (09:52 -0700)
committerTimmy Willison <4timmywil@gmail.com>
Mon, 18 Dec 2017 17:27:38 +0000 (12:27 -0500)
commitecd8ddea33dc40ae2a57e4340be03faf2ba2f99b
treed0f248befa82620226708059db84bc3a7f1ec076
parente84d3bc02eddeb0e0ca0438952ac560a794ff463
Tests: Add support for running unit tests via grunt with karma

- Update QUnit to 1.23.1
- Remove unused dl#dl from test/index.html
- Remove unused map#imgmap from test/index.html
- Ensure all urls to data use baseURI
- Add the 'grunt karma:main' task
  - customContextFile & customDebugFile
- Add 'npm run jenkins' script

Close gh-3744
Fixes gh-1999
62 files changed:
.travis.yml
Gruntfile.js
README.md
build/tasks/qunit_fixture.js [new file with mode: 0644]
external/qunit/qunit.css
external/qunit/qunit.js
package.json
test/data/ajax/content-type.php [deleted file]
test/data/ajax/evalScript.php [deleted file]
test/data/ajax/method.php [deleted file]
test/data/ajax/unreleasedXHR.html
test/data/atom+xml.php [deleted file]
test/data/core/dont_return.php [deleted file]
test/data/core/dynamic_ready.html
test/data/csp.include.html [new file with mode: 0644]
test/data/echoData.php [deleted file]
test/data/echoQuery.php [deleted file]
test/data/errorWithJSON.php [deleted file]
test/data/errorWithText.php [deleted file]
test/data/etag.php [deleted file]
test/data/event/interactiveReady.html
test/data/event/syncReady.html
test/data/headers.php [deleted file]
test/data/if_modified_since.php [deleted file]
test/data/json.php [deleted file]
test/data/jsonp.php [deleted file]
test/data/longLoadScript.php [deleted file]
test/data/mock.php [new file with mode: 0644]
test/data/name.php [deleted file]
test/data/nocontent.php [deleted file]
test/data/params_html.php [deleted file]
test/data/qunit-fixture.html [new file with mode: 0644]
test/data/qunit-fixture.js [new file with mode: 0644]
test/data/script.php [deleted file]
test/data/statusText.php [deleted file]
test/data/support/csp-clean.php [deleted file]
test/data/support/csp-log.php [deleted file]
test/data/support/csp.php [deleted file]
test/data/test.html [deleted file]
test/data/test.include.html [new file with mode: 0644]
test/data/test.php [deleted file]
test/data/testbar.php [deleted file]
test/data/testinit.js
test/data/text.php [deleted file]
test/data/text.txt [new file with mode: 0644]
test/data/with_fries_over_jsonp.php [deleted file]
test/index.html
test/karma.context.html [new file with mode: 0644]
test/karma.debug.html [new file with mode: 0644]
test/middleware-mockserver.js [new file with mode: 0644]
test/unit/ajax.js
test/unit/attributes.js
test/unit/basic.js
test/unit/core.js
test/unit/css.js
test/unit/data.js
test/unit/effects.js
test/unit/event.js
test/unit/manipulation.js
test/unit/offset.js
test/unit/support.js
test/unit/traversing.js