mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Add support for javascript unittests.
Integrated test-runner for Mocha which covers test-execution and code-coverage measurement. refs #4099, refs #4087
This commit is contained in:
parent
7ac78fe29d
commit
3544af245f
6
test/js/runtests.sh
Executable file
6
test/js/runtests.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
mocha --reporter "xunit" --recursive "$@" . > ../../build/log/mocha_results.xml
|
||||
mocha --reporter "cobertura" --recursive "$@" . > ../../build/log/mocha_coverage.xml
|
||||
|
||||
exit 0
|
Loading…
x
Reference in New Issue
Block a user