Add vitest setup and puzzleUtils tests

This commit is contained in:
2026-02-09 22:51:00 +01:00
parent bae864c2d0
commit 0decf2324c
4 changed files with 2118 additions and 3 deletions

16
vitest.config.js Normal file
View File

@@ -0,0 +1,16 @@
import { defineConfig } from 'vitest/config'
import vue from '@vitejs/plugin-vue'
import path from 'path'
export default defineConfig({
plugins: [vue()],
test: {
globals: true,
environment: 'jsdom',
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src')
}
}
})