Merge more testing coverage from henrikingo fork

* core_tests.js and navigation_tests.js have more tests
* qunit_test_runner.html runs QUnit in a browser (without karma) and
  provides a generic iframe based platform to test different  presentations.
* copy qunit.js and syn.js into the repo. This allows qunit_test_runner.html
  to work without any dependency on node/npm. (Karma obviously does need them.)
* Move jscs cli option to .jscsrc instead
This commit is contained in:
Henrik Ingo
2017-09-16 13:08:51 +03:00
parent 0b4bd08f44
commit 7aaea7fd37
12 changed files with 7511 additions and 156 deletions

View File

@@ -22,18 +22,20 @@
"url": "https://github.com/bartaz/impress.js/issues"
},
"scripts": {
"lint": "jshint js/impress.js *.js test/bootstrap.js && jscs js/impress.js *.js test/bootstrap.js --preset=jquery",
"lint": "jshint js/impress.js test/*.js && jscs js/impress.js test/*.js",
"test": "karma start --single-run",
"test:dev": "karma start",
"test:sauce": "karma start karma.conf-sauce.js"
},
"devDependencies": {
"chrome": "0.1.0",
"firefox": "*",
"jscs": "2.11.0",
"jshint": "2.9.1",
"karma": "0.13.22",
"karma-chrome-launcher": "1.0.1",
"karma-cli": "1.0.0",
"karma-firefox-launcher": "~0.1",
"karma-qunit": "1.0.0",
"karma-sauce-launcher": "1.0.0",
"qunitjs": "2.0.0-rc1"