Skip to content

Commit 47accfc

Browse files
Add tests and fix some minor issues
1 parent 0ab3e42 commit 47accfc

16 files changed

+1619
-18
lines changed

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
"deploy": "gh-pages -d docs",
2222
"prepublishOnly": "npm run build",
2323
"lint": "eslint src/**/*.{ts,vue} --max-warnings 4",
24-
"prepare": "husky install"
24+
"prepare": "husky install",
25+
"test": "vitest",
26+
"test:build": "vitest --run --bail 1"
2527
},
2628
"lint-staged": {
2729
"src/**/*.{js,ts,vue}": [
@@ -94,6 +96,7 @@
9496
"@vue/cli-service": "^5.0.8",
9597
"@vue/compiler-sfc": "^3.3.9",
9698
"@vue/eslint-config-typescript": "^12.0.0",
99+
"@vue/test-utils": "^2.4.3",
97100
"autoprefixer": "^10.4.16",
98101
"eslint": "^8.55.0",
99102
"eslint-config-prettier": "^9.1.0",
@@ -102,6 +105,7 @@
102105
"eslint-plugin-vue": "^9.19.2",
103106
"gh-pages": "^6.1.0",
104107
"husky": "^8.0.3",
108+
"jsdom": "^23.0.1",
105109
"lint-staged": "^15.0.2",
106110
"pinia": "^2.1.7",
107111
"postcss": "^8.4.32",
@@ -126,6 +130,7 @@
126130
"vite-plugin-static-copy": "^0.17.0",
127131
"vite-plugin-stylelint": "^5.2.1",
128132
"vite-plugin-vuetify": "^1.0.2",
133+
"vitest": "^1.0.4",
129134
"vue-tsc": "^1.8.24",
130135
"vuetify": "^3.4.4",
131136
"webfontloader": "^1.6.28"

0 commit comments

Comments
 (0)