import { testMessageComponent } from '../../../tests/formModules';
import Context from './Context';
import {
  RegisterFormInvalidEmailMessage,
} from './RegisterFormInvalidEmailMessage';

describe('RegisterFormInvalidEmailMessage component', () => {
  testMessageComponent(
    RegisterFormInvalidEmailMessage,
    'RegisterFormInvalidEmailMessage',
    Context,
    'error',
    'email',
    { error: true }
  );
});
