From c48012870658f8654fe0b0b9e8a6528927cde0da Mon Sep 17 00:00:00 2001 From: Connor Lanigan Date: Fri, 21 Jul 2023 09:38:07 +0000 Subject: [PATCH] Fix tests --- src/internal/analytics/__tests__/mocks.ts | 1 + src/wizard/__tests__/analytics.test.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/internal/analytics/__tests__/mocks.ts b/src/internal/analytics/__tests__/mocks.ts index 77092dcd1a..9b255e6a7b 100644 --- a/src/internal/analytics/__tests__/mocks.ts +++ b/src/internal/analytics/__tests__/mocks.ts @@ -14,6 +14,7 @@ export function mockFunnelMetrics() { funnelStepStart: jest.fn(), funnelStepComplete: jest.fn(), funnelStepNavigation: jest.fn(), + funnelStepError: jest.fn(), funnelSubStepStart: jest.fn(), funnelSubStepComplete: jest.fn(), funnelSubStepError: jest.fn(), diff --git a/src/wizard/__tests__/analytics.test.tsx b/src/wizard/__tests__/analytics.test.tsx index 80317a17af..2405c967ca 100644 --- a/src/wizard/__tests__/analytics.test.tsx +++ b/src/wizard/__tests__/analytics.test.tsx @@ -22,6 +22,7 @@ function mockFunnelMetrics() { funnelStepStart: jest.fn(), funnelStepComplete: jest.fn(), funnelStepNavigation: jest.fn(), + funnelStepError: jest.fn(), funnelSubStepStart: jest.fn(), funnelSubStepComplete: jest.fn(), funnelSubStepError: jest.fn(),