12 lines
393 B
TypeScript
12 lines
393 B
TypeScript
import { render } from '@testing-library/react';
|
|
import { mockAllIsIntersecting } from 'react-intersection-observer/test-utils';
|
|
import GettingStarted from './getting-started';
|
|
|
|
describe('GettingStarted', () => {
|
|
it('should render successfully', () => {
|
|
mockAllIsIntersecting(true);
|
|
const { baseElement } = render(<GettingStarted />);
|
|
expect(baseElement).toBeTruthy();
|
|
});
|
|
});
|