Skip to content

Commit ce1b540

Browse files
committed
chat-ui-react: Update mockChatAnalytics for unit and integration tests
1 parent 027dff5 commit ce1b540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/__utils__/mocks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@ export function mockChatAnalytics(
7676
report: jest.fn(),
7777
}));
7878
return jest
79-
.spyOn(require("@yext/analytics"), "provideChatAnalytics")
79+
.spyOn(require("@yext/analytics"), "analytics")
8080
.mockImplementation(mockImpl as (...args: unknown[]) => unknown);
8181
}

0 commit comments

Comments
 (0)