mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
10 lines
213 B
TypeScript
10 lines
213 B
TypeScript
import { render } from '@testing-library/react-native';
|
|
|
|
function renderWithProviders(component: React.ReactElement) {
|
|
render(component);
|
|
}
|
|
|
|
test('uses helper', () => {
|
|
renderWithProviders(<Component />);
|
|
});
|