Files
twenty_crm/front/src/components/auth/__tests__/RequireAuth.test.tsx
2023-04-21 15:53:47 +02:00

10 lines
294 B
TypeScript

import { render } from '@testing-library/react';
import { RequireAuthWithHelloChild } from '../__stories__/RequireAuth.stories';
it('Checks the Require Auth renders', () => {
const { getAllByText } = render(<RequireAuthWithHelloChild />);
expect(getAllByText('Hello')).toBeTruthy();
});