Skip to content

Conversation

@DaleSeo
Copy link
Contributor

@DaleSeo DaleSeo commented Nov 10, 2020

The current tests for exercise 4 look prone to false positives compared to the other tests that break as soon as I import the initial version instead of the final version. I failed to achieve that because I had no idea how to let the test code notice the subtle difference between when using the useLayoutEffect hook and when using the useEffect hook. Nevertheless, the new test will fail while someone is making the transition for the exercise.

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done 👏 Thank you!

@kentcdodds kentcdodds merged commit 3974439 into epicweb-dev:main Nov 10, 2020
@kentcdodds
Copy link
Member

@all-contributors please add @DaleSeo for tests

@allcontributors
Copy link
Contributor

@kentcdodds

I've put up a pull request to add @DaleSeo! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants