Merge pull request #5297 from rohankatkar/CRM15729
[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
4 elif which karma >> /dev/null ; then
5 karma start
6 else
7 echo "ERROR: Failed to find karma"
8 exit 1
9 fi