feat(modeler): meta/recipe/publish api modules + vitest jest-dom setup

listRecipes 按 §B.9-2 改为静态常量({id,label},不调 /api/ai/page-recipes)。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-20 09:35:43 +08:00
parent ae0155eb2c
commit 4b9c9338f3
8 changed files with 247 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ export default defineConfig({
test: {
environment: 'jsdom',
globals: true,
setupFiles: ['./src/setupTests.ts'],
include: ['src/**/*.test.ts', 'src/**/*.test.tsx'],
},
});