Files
twenty/front/src/layout/__tests__/AppLayout.test.tsx
T
2023-04-10 18:04:49 +02:00

11 lines
306 B
TypeScript

import { render } from '@testing-library/react';
import { AppLayoutDefault } from '../__stories__/AppLayout.stories';
it('Checks the AppLayout render', () => {
const { getByTestId } = render(<AppLayoutDefault />);
const title = getByTestId('content');
expect(title).toHaveTextContent('Test');
});