diff --git a/challenges/03-front-end-libraries/react.json b/challenges/03-front-end-libraries/react.json
index 2041950659..6b5e529ad3 100644
--- a/challenges/03-front-end-libraries/react.json
+++ b/challenges/03-front-end-libraries/react.json
@@ -1325,7 +1325,7 @@
},
{
"text": "The ReturnTempPassword
component should display the password you create as the tempPassword
prop within strong
tags.",
- "testString": "assert((function() { const mockedComponent = Enzyme.mount(React.createElement(ResetPassword)); return mockedComponent.find('strong').text() && mockedComponent.find('ReturnTempPassword').props().tempPassword; })(), 'The ReturnTempPassword
component should display the password you create as the tempPassword
prop within strong
tags.');"
+ "testString": "assert((function() { const mockedComponent = Enzyme.mount(React.createElement(ResetPassword)); return mockedComponent.find('strong').text() === mockedComponent.find('ReturnTempPassword').props().tempPassword; })(), 'The ReturnTempPassword
component should display the password you create as the tempPassword
prop within strong
tags.');"
}
],
"solutions": [