Files
Ncurator/vitest.showcase.config.mts
hy d7e84edda9 Add showcase tests for PPT management, review, knowledge base replies, and service contracts
- Implemented `ppt-management-briefing-edit.showcase.test.ts` to test editing PPTs with AI assistance.
- Created `ppt-management-briefing-review.showcase.test.ts` for reviewing PPTs generated by AI.
- Added `xinghe-kb-reply.showcase.test.ts` to validate knowledge base replies against local documents.
- Developed `xinghe-service-contract.showcase.test.ts` to test AI responses based on PDF contract queries.
- Introduced shared utility functions in `shared.ts` for handling file operations and cost calculations.
- Updated Vitest configuration to include new test paths for showcase cases.
2026-09-18 14:33:38 +08:00

16 lines
421 B
TypeScript

import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
include: ['tests/case/showcase/**/*.showcase.test.ts'],
exclude: ['tests/harness/**', 'tests/fixtures/**', 'tests/logs/**'],
environment: 'node',
globals: true,
fileParallelism: true,
testTimeout: 1_800_000,
hookTimeout: 1_800_000,
passWithNoTests: false,
execArgv: ['--experimental-sqlite']
}
})