11 lines
313 B
TypeScript
11 lines
313 B
TypeScript
|
import ListPage from '../../src/ListPage';
|
||
|
import {render, screen} from '@testing-library/react';
|
||
|
|
||
|
describe('Demo', function () {
|
||
|
it('renders a component', async function () {
|
||
|
render(<ListPage />);
|
||
|
|
||
|
expect(screen.getAllByRole('heading')[0].textContent).toEqual('AdminX Demo App');
|
||
|
});
|
||
|
});
|