diff --git a/.gitignore b/.gitignore index 109341c..e685b8b 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ yarn-error.log* /.bin/* !*.gitkeep +test/jest/coverage diff --git a/.travis.yml b/.travis.yml index 6df574e..985da73 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,9 @@ install: - npm install script: + - npm test + +after_success: - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./.travis.deploy.sh; fi' deploy: diff --git a/package.json b/package.json index 7865c89..9d45900 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "private": true, "scripts": { "lint": "eslint --ext .js,.vue src", - "test": "echo \"No test specified\" && exit 0", + "test": "quasar run @quasar/testing test --unit=jest", "test:e2e": "cypress open", "test:e2e:CI": "cypress run", "serve:test:lighthouse": "quasar serve test/lighthouse/reports/ --port 8789", @@ -55,4 +55,4 @@ "resolutions": { "ajv": "6.8.1" } -} \ No newline at end of file +}