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