Skip to content

Commit 249aad3

Browse files
committed
fix test
1 parent 957ad73 commit 249aad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-contextual-analytics/src/__tests__/analytics-provider.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ describe('AnalyticsProvider', () => {
240240

241241
// Click should trigger error state and error boundary should catch
242242
fireEvent.click(getByText('Test'));
243-
expect(queryByText('Error caught')).toBeInTheDocument();
243+
expect(queryByText('Error caught')).toBeDefined();
244244

245245
// Cleanup
246246
consoleSpy.mockRestore();

0 commit comments

Comments
 (0)