dsh-better-chat/vitest.config.ts

14 lines
462 B
TypeScript

import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
// tests/*.test.ts is the reading-view suite (upstream dsh-better-display);
// tests/chat/*.test.ts covers the chat enhancements carried over from
// dsh-better-chat. Workers use threads because the desktop sandbox forbids
// spawning child processes with piped stdio.
include: ['tests/**/*.test.ts'],
pool: 'threads',
environment: 'node',
},
})