From de4077773a41e5d3ad1a84c801d67a560c8a61b4 Mon Sep 17 00:00:00 2001 From: Ben Wheeler Date: Mon, 16 Sep 2019 20:12:42 -0400 Subject: [PATCH] updated email-step test --- test/unit/components/email-step.test.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/components/email-step.test.jsx b/test/unit/components/email-step.test.jsx index 88af9b8b2..b49ae09c6 100644 --- a/test/unit/components/email-step.test.jsx +++ b/test/unit/components/email-step.test.jsx @@ -25,12 +25,12 @@ describe('EmailStep test', () => { // Dive to get past the anonymous component. const joinFlowWrapper = formikWrapper.dive().find(JoinFlowStep); expect(joinFlowWrapper).toHaveLength(1); - expect(joinFlowWrapper.props().description).toBe('registration.emailStepDescription'); expect(joinFlowWrapper.props().footerContent.props.id).toBe('registration.acceptTermsOfUse'); expect(joinFlowWrapper.props().headerImgSrc).toBe('/images/join-flow/email-header.png'); expect(joinFlowWrapper.props().innerClassName).toBe('join-flow-inner-email-step'); expect(joinFlowWrapper.props().nextButton).toBe('registration.createAccount'); expect(joinFlowWrapper.props().title).toBe('registration.emailStepTitle'); + expect(joinFlowWrapper.props().titleClassName).toBe('join-flow-email-title'); expect(joinFlowWrapper.props().waiting).toBe(true); });