]> git.proxmox.com Git - mirror_novnc.git/commit - karma.conf.js
Update tests to work with new structure
authorSolly Ross <sross@redhat.com>
Sun, 5 Feb 2017 17:34:47 +0000 (12:34 -0500)
committerSolly Ross <sross@redhat.com>
Tue, 21 Mar 2017 21:39:07 +0000 (17:39 -0400)
commitdfae3209ebcde77a341addbb55514d8285499d73
treea9e4e6547e10b4d3ebff69506b68ce73463fe3ad
parent6d6f0db0da5a46e530fc891136224d58771c00c6
Update tests to work with new structure

This updates the tests to work with the new structure, and removes the
old `utils/run_from_console.js` files in favor of just using Karma
directly.  The Karma debug page now displays the normal mocha HTML, so
we can use that instead of the HTML generation functionality of the old
test runner.

Note that PhantomJS does not work at the moment (PhantomJS 1.5 should
make it possible to test on PhantomJS again).
17 files changed:
.travis.yml
CONTRIBUTING.md
karma.conf.js
package.json
tests/fake.websocket.js
tests/karma-test-main.js [new file with mode: 0644]
tests/run_from_console.casper.js [deleted file]
tests/run_from_console.js [deleted file]
tests/run_from_console.zombie.js [deleted file]
tests/test.base64.js
tests/test.display.js
tests/test.helper.js
tests/test.keyboard.js
tests/test.rfb.js
tests/test.util.js
tests/test.websock.js
vendor/sinon.js [new file with mode: 0644]