Skip to content

Commit

Permalink
[#4430] fix mochajs test command
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Aug 31, 2018
1 parent af59d89 commit 0d7fcac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Expand Up @@ -34,6 +34,7 @@ jobs:
$NODE_TESTS_CONTAINER)
curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt install -y nodejs
npm install mocha-phantomjs@3.5.0 phantomjs@~1.9.1
;;
esac
apt install -y postgresql-client solr-jetty openjdk-8-jdk
Expand Down Expand Up @@ -86,8 +87,9 @@ jobs:
- run:
command: |
case $CIRCLE_NODE_INDEX in
$NODE_TESTS_CONTAINER) npm install
npm test
$NODE_TESTS_CONTAINER)
sleep 5
/root/node_modules/mocha-phantomjs/bin/mocha-phantomjs http://localhost:5000/base/test/index.html
;;
esac
Expand Down

0 comments on commit 0d7fcac

Please sign in to comment.