mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-16 16:19:48 -05:00
correct misspelled join flow intl id
This commit is contained in:
parent
0fe4eaed03
commit
b6fcffd6f3
2 changed files with 3 additions and 3 deletions
|
@ -63,7 +63,7 @@ class EmailStep extends React.Component {
|
||||||
onCaptchaError () {
|
onCaptchaError () {
|
||||||
this.props.onRegistrationError(
|
this.props.onRegistrationError(
|
||||||
this.props.intl.formatMessage({
|
this.props.intl.formatMessage({
|
||||||
id: 'registation.troubleReload'
|
id: 'registration.troubleReload'
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -151,7 +151,7 @@ describe('EmailStep test', () => {
|
||||||
|
|
||||||
const formikWrapper = wrapper.dive();
|
const formikWrapper = wrapper.dive();
|
||||||
formikWrapper.instance().onCaptchaError();
|
formikWrapper.instance().onCaptchaError();
|
||||||
expect(props.onRegistrationError).toHaveBeenCalledWith('registation.troubleReload');
|
expect(props.onRegistrationError).toHaveBeenCalledWith('registration.troubleReload');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Captcha load error calls error function', () => {
|
test('Captcha load error calls error function', () => {
|
||||||
|
@ -167,7 +167,7 @@ describe('EmailStep test', () => {
|
||||||
|
|
||||||
const formikWrapper = wrapper.dive();
|
const formikWrapper = wrapper.dive();
|
||||||
formikWrapper.instance().onCaptchaLoad();
|
formikWrapper.instance().onCaptchaLoad();
|
||||||
expect(props.onRegistrationError).toHaveBeenCalledWith('registation.troubleReload');
|
expect(props.onRegistrationError).toHaveBeenCalledWith('registration.troubleReload');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('validateEmail test email empty', () => {
|
test('validateEmail test email empty', () => {
|
||||||
|
|
Loading…
Reference in a new issue