mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 17:16:11 -05:00
updated username test to reflect showPassword default
This commit is contained in:
parent
495879d4a9
commit
319c217e62
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ describe('UsernameStep test', () => {
|
||||||
expect(formikWrapper.props().initialValues.username).toBe('');
|
expect(formikWrapper.props().initialValues.username).toBe('');
|
||||||
expect(formikWrapper.props().initialValues.password).toBe('');
|
expect(formikWrapper.props().initialValues.password).toBe('');
|
||||||
expect(formikWrapper.props().initialValues.passwordConfirm).toBe('');
|
expect(formikWrapper.props().initialValues.passwordConfirm).toBe('');
|
||||||
expect(formikWrapper.props().initialValues.showPassword).toBe(false);
|
expect(formikWrapper.props().initialValues.showPassword).toBe(true);
|
||||||
expect(formikWrapper.props().validateOnBlur).toBe(false);
|
expect(formikWrapper.props().validateOnBlur).toBe(false);
|
||||||
expect(formikWrapper.props().validateOnChange).toBe(false);
|
expect(formikWrapper.props().validateOnChange).toBe(false);
|
||||||
expect(formikWrapper.props().validate).toBe(formikWrapper.instance().validateForm);
|
expect(formikWrapper.props().validate).toBe(formikWrapper.instance().validateForm);
|
||||||
|
|
Loading…
Reference in a new issue