mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2025-12-06 00:20:05 +01:00
10 lines
271 B
TypeScript
10 lines
271 B
TypeScript
import { render } from '@testing-library/react';
|
|
import Index from 'pages/index';
|
|
|
|
test('renders index page', () => {
|
|
const { getByText } = render(<Index />);
|
|
const helloWorldElement = getByText('Hello, world!');
|
|
|
|
expect(helloWorldElement).toBeInTheDocument();
|
|
});
|