Skip to content

Commit 81fbe50

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
fix(test): provide auth text actions in OTP regression fixture
1 parent d775632 commit 81fbe50

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎apps/sim/app/(auth)/verify/otp-error-source.test.tsx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ vi.mock('@/app/(auth)/components', () => ({
6868
{children}
6969
</button>
7070
),
71+
AuthTextLink: (props: ButtonHTMLAttributes<HTMLButtonElement>) => (
72+
<button type='button' {...props} />
73+
),
7174
}))
7275
vi.mock('@/app/(auth)/components/auth-button-classes', () => ({ AUTH_TEXT_LINK: '' }))
7376
vi.mock('@/components/auth/public-auth-header', () => ({

0 commit comments

Comments
 (0)