Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tweak + small new test #170

Merged
merged 1 commit into from Nov 8, 2020
Merged

tweak + small new test #170

merged 1 commit into from Nov 8, 2020

Conversation

tizmagik
Copy link
Collaborator

@tizmagik tizmagik commented Nov 8, 2020

I noticed one of the tests never got updated to the hooks API, plus added another minor test

NOTE: This PR is going into expanded-hooks-api branch.

@tizmagik tizmagik requested a review from bgergen November 8, 2020 05:23
@bgergen bgergen merged commit 7547855 into expanded-hooks-api Nov 8, 2020
@bgergen bgergen deleted the tweak-new-test branch November 8, 2020 21:22
bgergen added a commit that referenced this pull request Nov 11, 2020
* Copy additional functionality to hook

* Call hook from decorator

* Fix props issue & tests

* Remove top-level hook warning

* Unskip & update hook tests

* Remove lint warnings

* Remove extraneous loc

* Move core functionality into separate hook

* Clean up tests

* Move ReactTrackingContext into separate file, update useTracking tests

* Update src/__tests__/hooks.test.js

Co-authored-by: Jeremy Gayed <tizmagik@users.noreply.github.com>

* Update tests

* More test updates

* Fix lint error

* Store data & options in refs

* Update hooks test to call dispatch mock

Co-authored-by: Jeremy Gayed <tizmagik@users.noreply.github.com>

* Update tests, fix memoization bug

* tweak + small new test (#170)

Co-authored-by: Jeremy Gayed <tizmagik@users.noreply.github.com>
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.

None yet

2 participants