build: 为项目创建单元测试框架 #45

Manually merged
remilia merged 8 commits from build/test into master 2025-10-27 14:16:26 +08:00
6 changed files with 457 additions and 17 deletions
Showing only changes of commit 5be3c45ac5 - Show all commits

View File

@ -14,7 +14,7 @@ export default defineConfig({
await defineVitestProject({
test: {
name: 'nuxt',
include: ['tests/nuxt/**/*.{test.spec}.ts'],
include: ['tests/nuxt/**/*.{test,spec}.ts'],
environment: 'nuxt',
},
}),