qwen-code/vitest.config.ts
tanzhenxin d84675e86f test(channels): add comprehensive test suites for channel adapters
- Add ChannelBase, GroupGate, SenderGate, SessionRouter tests
- Add DingTalk markdown utility tests
- Add Weixin media and send helper tests
- Add CLI channel config-utils and pidfile tests
- Configure vitest for all channel packages
- Exclude test files from TypeScript build

Tests cover attachment handling, block streaming, gating policies,
session routing, markdown conversion, config parsing, and service management.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-27 15:26:39 +00:00

18 lines
418 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
projects: [
'packages/cli',
'packages/core',
'packages/vscode-ide-companion',
'packages/sdk-typescript',
'packages/channels/base',
'packages/channels/dingtalk',
'packages/channels/telegram',
'packages/channels/weixin',
'integration-tests',
'scripts',
],
},
});