feat(react): fixing support for react 19, adding test app for react 19 (#30217)

Issue number: resolves #29991

Co-authored-by: Brandy Smith <6577830+brandyscarney@users.noreply.github.com>
This commit is contained in:
Shane
2025-03-03 08:50:05 -08:00
committed by GitHub
parent 521d077376
commit f4941f2639
20 changed files with 11057 additions and 288 deletions

View File

@ -1,9 +1,9 @@
import { IonButton } from '@ionic/react';
import { fireEvent, render, screen } from '@testing-library/react';
import React from 'react';
import { vi, test, expect } from 'vitest';
test('should support onDoubleClick bindings', () => {
const mockFn = jest.fn();
const mockFn = vi.fn();
render(<IonButton onDoubleClick={mockFn}>Click me</IonButton>);