diff --git a/.travis.yml b/.travis.yml index e73333e11..3321bfce3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -84,6 +84,7 @@ jobs: - stage: Test name: "Front-end tests, Storybook, bundle audit, console check, e2e" script: + - yarn lint:frontend - yarn test --colors - bundle exec rails db:create db:schema:load assets:precompile - bundle exec bundle-audit check --update diff --git a/package.json b/package.json index 098da30d2..69c880904 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "prestorybook": "yarn run storybook-prerequisites", "storybook": "start-storybook -p 6006 -c app/javascript/.storybook -s app/assets,app/javascript/storybook-static", "lint:frontend": "eslint app/assets/javascripts/**/*.js app/javascript/**/*.jsx app/javascript/**/*.js cypress/**/*.js", - "pretest": "yarn run lint:frontend", "test": "jest app/javascript/ bin/ --coverage", "test:watch": "jest app/javascript/ bin/ --watch", "postcss": "postcss public/assets/*.css -d public/assets 2> postcss_error.log",