This is a HowTo repository for setting up unit test and e2e test in Quasar Framework.
To be able to have a working test setup, we need to install additional dependencies.
cross-env
"scripts": {
"unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run",
"e2e": "cross-env NODE_ENV=test node test/e2e/runner.js",
"test": "npm run unit && npm run e2e",
"tdd": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js",
"lint": "eslint --ext .js,.vue src test",
"lint-fix": "eslint --fix --ext .js,.vue src test"
}