Files
telegram-bot-workers/vitest.config.ts
kappa b1bbce5375 fix: allow session cancellation in all states
Previously cancellation only worked in 'selecting' or 'ordering' states.
Now users can cancel server consultation at any stage using keywords:
취소, 다시, 처음, 리셋, 초기화, 다시 시작, 처음부터

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 11:26:54 +09:00

26 lines
490 B
TypeScript

import { defineConfig } from 'vitest/config';
import path from 'path';
export default defineConfig({
test: {
globals: true,
environment: 'node',
setupFiles: ['./tests/setup.ts'],
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
exclude: [
'node_modules/',
'tests/',
'**/*.test.ts',
'**/__test__/',
],
},
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
});