/**
* Copyright (c) Paymium.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root of this projects source tree.
*/
import { render, fireEvent, screen } from '@crossed/test';
import { FocusScope } from '../FocusScope.web';
describe('FocusScope', () => {
test('rend l’enfant passé en prop', () => {
render(
Child
);
expect(screen.getByTestId('child')).toBeInTheDocument();
});
test('appelle onMountAutoFocus lors du montage', () => {
const onMountAutoFocus = jest.fn();
render(