-
Notifications
You must be signed in to change notification settings - Fork 25
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
fix: migrate useAuth hook for v6 #1137
Conversation
Codecov Report
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1137 +/- ##
=======================================
Coverage 93.85% 93.86%
=======================================
Files 149 150 +1
Lines 6104 6112 +8
Branches 1834 1836 +2
=======================================
+ Hits 5729 5737 +8
Misses 357 357
Partials 18 18
Continue to review full report in Codecov by Sentry.
|
packages/codegen-ui-react/lib/__tests__/__snapshots__/studio-ui-codegen-react.test.ts.snap
Show resolved
Hide resolved
packages/codegen-ui-react/lib/__tests__/__snapshots__/studio-ui-codegen-react.test.ts.snap
Show resolved
Hide resolved
packages/codegen-ui-react/lib/utils-file-functions/hooks/useAuth.ts
Outdated
Show resolved
Hide resolved
* fix: migrate useAuth hook for v6 * fix: remove console log --------- Co-authored-by: David Lopez <lopezbnd@amazon.com>
* fix: init v6 integ tests * fix: migrate useAuth hook for v6 (#1137) * fix: migrate useAuth hook for v6 * fix: remove console log --------- Co-authored-by: David Lopez <lopezbnd@amazon.com> * fix: v6 broken integ tests * chore: put v5 and v6 test templates in separate packages * fix: pin ts to 4.4.4 for integ tests * fix: add no-ci flag to integ v6 * fix: import Amplify * fix: add mock exports * fix: update templates back to test-generator package * fix: remove new integ test packages * fix: menu test * fix: rename v5 test template * fix: v5 integ tests remove view and tabs primitive --------- Co-authored-by: David Lopez <lopezbnd@amazon.com>
Problem
We need to migrate the useAuth hook for v6
Solution
Migrate it over
Additional Notes
Links
Ticket
GitHub issue:
Other links
Verification
Manual tests
Automated tests
Housekeeping
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.