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
This commit is contained in:
Timo Tijhof
2017-08-01 09:52:45 -07:00
committed by Timmy Willison
parent e84d3bc02e
commit ecd8ddea33
60 changed files with 2568 additions and 1861 deletions

View File

@@ -0,0 +1,7 @@
html text<br/>
<script type="text/javascript">/* <![CDATA[ */
testFoo = "foo"; jQuery('#foo').html('foo');
ok( true, "test.include.html executed" );
/* ]]> */</script>
<script src="{{baseURL}}mock.php?action=testbar"></script>
blabla