11 lines
306 B
TypeScript
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');
|
|
});
|