Skip to content

Commit 9ea19d7

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
test: include resource row in connector EMCN mock
1 parent 8e5451a commit 9ea19d7

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

‎apps/sim/app/workspace/[workspaceId]/knowledge/[id]/components/connectors-section/connectors-section.test.tsx‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,27 @@ vi.mock('@sim/emcn/icons', () => ({
7171

7272
vi.mock('@sim/emcn', () => ({
7373
Badge: ({ children }: { children?: ReactNode }) => <span>{children}</span>,
74+
ResourceRow: ({
75+
icon,
76+
title,
77+
description,
78+
badge,
79+
trailing,
80+
}: {
81+
icon?: ReactNode
82+
title: ReactNode
83+
description?: ReactNode
84+
badge?: ReactNode
85+
trailing?: ReactNode
86+
}) => (
87+
<div>
88+
{icon}
89+
<span>{title}</span>
90+
{description}
91+
{badge}
92+
{trailing}
93+
</div>
94+
),
7495
Chip: ({
7596
children,
7697
variant: _variant,

0 commit comments

Comments
 (0)