nx/nx-dev/feature-doc-viewer/src/lib/content.spec.tsx
Jack Hsu ed94c4e1ec
docs(core): add nextjs app for new nx.dev website (#5133)
Co-authored-by: ben <contact@benjamincabanes.com>
2021-03-27 04:01:31 +00:00

12 lines
292 B
TypeScript

import React from 'react';
import { render } from '@testing-library/react';
import Content from './content';
describe('Content', () => {
it('should render successfully', () => {
const { baseElement } = render(<Content data="hello" />);
expect(baseElement).toBeTruthy();
});
});