chore: install vitest and configure test environment

This commit is contained in:
DanielS
2026-07-09 21:56:10 +02:00
parent 0621a0be16
commit 988625ba42
3 changed files with 1616 additions and 22 deletions

14
shop/vitest.config.ts Normal file
View File

@@ -0,0 +1,14 @@
import { defineConfig } from 'vitest/config';
import path from 'path';
export default defineConfig({
test: {
environment: 'node',
globals: true,
},
resolve: {
alias: {
'@': path.resolve(__dirname, './'),
},
},
});