12 lines
278 B
TypeScript
12 lines
278 B
TypeScript
|
import React from 'react';
|
||
|
import { render } from '@testing-library/react';
|
||
|
|
||
|
import Index from '../pages/index';
|
||
|
|
||
|
describe('Index', () => {
|
||
|
it('should render successfully', () => {
|
||
|
const { baseElement } = render(<Index />);
|
||
|
expect(baseElement).toBeTruthy();
|
||
|
});
|
||
|
});
|