nx/nx-dev/ui-home/src/lib/affected-command.spec.tsx
2021-11-12 11:59:45 -05:00

12 lines
397 B
TypeScript

import { render } from '@testing-library/react';
import { mockAllIsIntersecting } from 'react-intersection-observer/test-utils';
import AffectedCommand from './affected-command';
describe('AffectedCommand', () => {
it('should render successfully', () => {
mockAllIsIntersecting(true);
const { baseElement } = render(<AffectedCommand />);
expect(baseElement).toBeTruthy();
});
});