-
Notifications
You must be signed in to change notification settings - Fork 249
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
chore(authenticator): cherry-pick tests from main, add screen geometry tests #2455
chore(authenticator): cherry-pick tests from main, add screen geometry tests #2455
Conversation
* chore: add stubs for auth cognito and amplify * test: refactor tests, add tests for new configs * chore: regenerate golden files * chore: update comment, fix accidential cmd f change * chore: add license headers * chore: make internal mocks private
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
binding.window.devicePixelRatioTestValue = ScreenGeometry.mobile.pixelRatio; | ||
binding.window.physicalSizeTestValue = ScreenGeometry.mobile.size; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these needed if they get overridden below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. I had added it because I wasn't planning on adding ScreenGeometry as one of the dimensions for the theme tests, but changed my mind and added it. Updated.
Codecov Report
@@ Coverage Diff @@
## next #2455 +/- ##
==========================================
+ Coverage 39.24% 48.90% +9.65%
==========================================
Files 107 107
Lines 6653 6654 +1
==========================================
+ Hits 2611 3254 +643
+ Misses 4042 3400 -642
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.