40ac68bcf48461ed00e3ffb43db53266771f159a
[civicrm-core.git] / tools / scripts / npm / test.sh
1 #!/bin/bash
2 if which node_modules/karma/bin/karma >> /dev/null; then
3 node node_modules/karma/bin/karma start tests/karma.conf.js
4 elif which karma >> /dev/null ; then
5 karma start tests/karma.conf.js
6 else
7 echo "ERROR: Failed to find karma"
8 exit 1
9 fi