mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
15 lines
423 B
JavaScript
15 lines
423 B
JavaScript
import React from 'react';
|
|
import { renderDeep } from '../../util/test-helpers';
|
|
import { fakeIntl } from '../../util/test-data';
|
|
import SignupForm from './SignupForm';
|
|
|
|
const noop = () => null;
|
|
|
|
describe('SignupForm', () => {
|
|
it('matches snapshot', () => {
|
|
const tree = renderDeep(
|
|
<SignupForm intl={fakeIntl} onOpenTermsOfService={noop} onSubmit={noop} />
|
|
);
|
|
expect(tree).toMatchSnapshot();
|
|
});
|
|
});
|