test: add unit tests for the module (#892)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Juho Rutila
2023-11-02 12:00:20 +02:00
committed by GitHub
parent a2d70f04e9
commit ed4b5e0077
7 changed files with 420 additions and 13 deletions

View File

@@ -27,7 +27,8 @@
"lint:fix": "eslint . --fix",
"typecheck": "vue-tsc --noEmit && nuxi typecheck docs",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare docs",
"release": "release-it"
"release": "release-it",
"test": "vitest"
},
"dependencies": {
"@egoist/tailwindcss-icons": "^1.4.0",
@@ -64,6 +65,7 @@
"typescript": "^5.2.2",
"unbuild": "^2.0.0",
"valibot": "^0.19.0",
"vitest": "^0.34.6",
"vue-tsc": "^1.8.21",
"yup": "^1.3.2",
"zod": "^3.22.4"