-
Notifications
You must be signed in to change notification settings - Fork 83
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
refactor: make dynamic links methods more reusable, for jumpstart #4995
Conversation
1 build had no size change
Celo (test) 1.79.0 (144)
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4995 +/- ##
==========================================
- Coverage 85.46% 85.44% -0.03%
==========================================
Files 719 720 +1
Lines 29347 29432 +85
Branches 5091 5099 +8
==========================================
+ Hits 25082 25148 +66
- Misses 4026 4045 +19
Partials 239 239
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
src/invite/Invite.test.tsx
Outdated
import { createMockStore } from 'test/utils' | ||
import Invite from './Invite' | ||
|
||
jest.mock('src/analytics/ValoraAnalytics') | ||
const mockShare = jest.spyOn(Share, 'share') | ||
const mockedCreateDynamicLink = jest.spyOn(InviteUtils, 'createDynamicLink') | ||
const mockedCreateDynamicLink = jest.spyOn(InviteUtils, 'createInviteLink') |
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.
const mockedCreateDynamicLink = jest.spyOn(InviteUtils, 'createInviteLink') | |
const mockedCreateInviteLink = jest.spyOn(InviteUtils, 'createInviteLink') |
Merge queue setting changed
…lora-inc#4995) ### Description As the title. ### Test plan n/a ### Related issues - Related to RET-993 ### Backwards compatibility Y ### Network scalability If a new NetworkId and/or Network are added in the future, the changes in this PR will: - [x] Continue to work without code changes, OR trigger a compilation error (guaranteeing we find it when a new network is added) --------- Co-authored-by: Tom McGuire <Mcgtom10@gmail.com>
Description
As the title.
Test plan
n/a
Related issues
Backwards compatibility
Y
Network scalability
If a new NetworkId and/or Network are added in the future, the changes in this PR will: