chore: 整理

This commit is contained in:
严浩
2025-08-19 16:20:33 +08:00
parent 0585f9abdb
commit e4287bb0e1
12 changed files with 1369 additions and 182 deletions

15
vitest.config.ts Normal file
View File

@@ -0,0 +1,15 @@
import { fileURLToPath } from 'node:url';
import { configDefaults, defineConfig, mergeConfig } from 'vitest/config';
import viteConfig from './vite.config';
export default mergeConfig(
viteConfig as never,
defineConfig({
test: {
environment: 'jsdom',
exclude: [...configDefaults.exclude, 'e2e/**'],
root: fileURLToPath(new URL('./', import.meta.url)),
},
}),
);