Files
zn-ai/src/components/channels/index.ts
duanshuwen ef46c73c3e Add unit tests for channel utilities and configure testing environment
- Created a new test file `channels.test.ts` to cover utilities related to channel configurations and targets.
- Implemented tests for normalizing and grouping selected channels by type, as well as building channel targets from account data and cron history.
- Mocked necessary dependencies to isolate tests and ensure accurate results.
- Updated `vite.config.ts` to set up the testing environment with jsdom and enable global variables for tests.
2026-04-18 16:12:49 +08:00

9 lines
583 B
TypeScript

export { default as ChannelAccountIdField } from './ChannelAccountIdField';
export { default as ChannelConfigActions } from './ChannelConfigActions';
export { default as ChannelConfigFields } from './ChannelConfigFields';
export { default as ChannelConfigModal } from './ChannelConfigModal';
export { default as ChannelInstructionsPanel } from './ChannelInstructionsPanel';
export { default as ChannelTokenField } from './ChannelTokenField';
export { default as ChannelTypeSelector } from './ChannelTypeSelector';
export type { ChannelConfigModalProps } from './ChannelConfigModal';