updated username test to reflect showPassword default

This commit is contained in:
Ben Wheeler 2019-10-01 18:26:56 -04:00
parent 495879d4a9
commit 319c217e62

View file

@ -29,7 +29,7 @@ describe('UsernameStep test', () => {
expect(formikWrapper.props().initialValues.username).toBe('');
expect(formikWrapper.props().initialValues.password).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().validateOnChange).toBe(false);
expect(formikWrapper.props().validate).toBe(formikWrapper.instance().validateForm);