feat : ajout config vitest/make/pre-commit/commit-msg + un exemple de test vitest

This commit is contained in:
2026-02-23 11:29:16 +01:00
parent 65d9060e26
commit 82ecc9cfe2
8 changed files with 1301 additions and 1 deletions

10
vitest.config.ts Normal file
View File

@@ -0,0 +1,10 @@
import { defineConfig } from 'vitest/config'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
test: {
environment: 'jsdom',
include: ['app/**/*.test.ts'],
},
})