mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-30 23:14:37 +00:00
Co-authored-by: Srinivas Vaddi <38348871+vaddisrinivas@users.noreply.github.com> Co-authored-by: Steven Enamakel <enamakel@tinyhumans.ai> Co-authored-by: sanil-23 <sanil@vezures.xyz> Co-authored-by: Chen Qian <cq@Chens-MacBook-Pro.local> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
15 lines
636 B
TypeScript
15 lines
636 B
TypeScript
import { describe, expect, it, vi } from 'vitest';
|
|
|
|
import { FALLBACK_DEFINITIONS } from '../../lib/channels/definitions';
|
|
import { renderWithProviders } from '../../test/test-utils';
|
|
import ChannelSetupModal from './ChannelSetupModal';
|
|
|
|
const larkDefinition = FALLBACK_DEFINITIONS.find(def => def.id === 'lark')!;
|
|
|
|
describe('<ChannelSetupModal /> header logo (issue #2854)', () => {
|
|
it('renders the Lark / Feishu brand logo in the modal header', () => {
|
|
renderWithProviders(<ChannelSetupModal definition={larkDefinition} onClose={vi.fn()} />);
|
|
expect(document.querySelector('img[src="/lark.png"]')).not.toBeNull();
|
|
});
|
|
});
|