UNPKG

quickbuild

Version:

A mature, feature-complete application generator with an emphasis on speed

20 lines (16 loc) 435 B
import React from 'react'; import { render } from 'react-testing-library'; import { IntlProvider } from 'react-intl'; import FeaturePage from '../index'; describe('<FeaturePage />', () => { it('should render its heading', () => { const { container: { firstChild }, } = render( <IntlProvider locale="en"> <FeaturePage /> </IntlProvider>, ); expect(firstChild).toMatchSnapshot(); }); });