mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 08:13:34 +03:00
a8083960d8
refs https://github.com/TryGhost/Product/issues/4182 Updated framework to include shared test config for easier app setup.
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');
|
|
});
|
|
});
|