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

Nav: rewrote using Hooks #290

Merged
merged 1 commit into from
Nov 15, 2022
Merged

Nav: rewrote using Hooks #290

merged 1 commit into from
Nov 15, 2022

Conversation

warpdesign
Copy link
Owner

@warpdesign warpdesign commented Nov 15, 2022

  • rewrote Nav component with hooks
  • added useStores() hook to retrieve MobX stores
  • added react-testing-library + jest-dom
  • added rtl aliased module with renderWithProvider that renders components with settings state

This makes us almost ready to do proper integration test: we only need to define a new AllProviders HOC that will include all needed providers for the app

- added useStores() hook to retrieve MobX stores
- added react-testing-library + jest-dom
- added rtl aliased module with renderWithProvider that renders components with settings state

This makes us almost ready to do proper integration test: we only need to define a new
AllProviders HOC that will include all needed providers for the app
@warpdesign warpdesign merged commit 77d1d1a into master Nov 15, 2022
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.

1 participant