Add Unit testing
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- package.json 8 additions, 2 deletionspackage.json
- src/components/FunkwhaleButton.test.ts 12 additions, 0 deletionssrc/components/FunkwhaleButton.test.ts
- vite.config.ts 5 additions, 1 deletionvite.config.ts
- yarn.lock 987 additions, 6 deletionsyarn.lock
{ | ||
"name": "vui2", | ||
"name": "vui", | ||
"version": "0.0.0", | ||
"license": "AGPL-3.0-or-later", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "vue-tsc --noEmit && vite build", | ||
"preview": "vite preview" | ||
"preview": "vite preview", | ||
"test": "vitest run --coverage" | ||
}, | ||
"dependencies": { | ||
"@funkwhale/ui": "/home/georg/workspace/funkwhale/ui", | ||
"vue": "^3.2.25" | ||
}, | ||
"devDependencies": { | ||
"@testing-library/vue": "^6.4.2", | ||
"@vitejs/plugin-vue": "^2.0.0", | ||
"c8": "^7.11.0", | ||
"happy-dom": "^2.31.1", | ||
"sass": "^1.49.7", | ||
"typescript": "^4.4.4", | ||
"vite": "^2.7.2", | ||
"vitest": "^0.2.8", | ||
"vue-tsc": "^0.29.8" | ||
} | ||
} |
src/components/FunkwhaleButton.test.ts
0 → 100644
This diff is collapsed.
Please register or sign in to comment