bonham000 / fcc-react-tests-module

The original freeCodeCamp React/Redux alpha curriculum.
http://hysterical-amusement.surge.sh/
BSD 3-Clause "New" or "Revised" License
77 stars 38 forks source link

Challenge #13: Correct solution not accepted. #213

Closed rorm closed 7 years ago

rorm commented 7 years ago

Hey there guys, excited that this course is on its way! Thank you

screen shot 2017-04-24 at 08 41 56

For some reason, I get this error. My solution code is identical save the added empty lines.

bonham000 commented 7 years ago

@rorm yes, it seems the tests were a bit inexact on this one. Your code fails because the h1 was not wrapped within the div that was originally present in the seed code. But the test is really looking for the name of the component. I've modified the test and fixed this.