diff --git a/.travis.yml b/.travis.yml index 5e192554..28559996 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,6 @@ before_script: - . $HOME/.nvm/nvm.sh - nvm install stable - nvm use stable - - (cd frontend && npm install) + - npm install script: - - bundle exec rspec && (cd frontend && npm test) && bundle exec brakeman -q -z + - bundle exec rspec && npm test && bundle exec brakeman -q -z diff --git a/package.json b/package.json index acf69b97..9fe29143 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "build": "webpack", "build:watch": "webpack --watch", - "test": "mocha test || echo 'Run `npm install` to setup testing'" + "test": "mocha frontend/test || echo 'Run `npm install` to setup testing'" }, "repository": { "type": "git",