-
Notifications
You must be signed in to change notification settings - Fork 12
enable sending to federated address #821
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
Changes from 11 commits
c7e88e8
05eef5f
679d22f
01831d7
0d750e3
3856256
43a3309
6a9b311
411ae5a
24629d4
6210d3d
a114efb
babf8b1
90cb793
d7f5778
6ec12d7
716c0e2
432f10e
9dcf54a
40178cd
34dd9cf
7918bc3
926531a
efdb30c
0741bec
a4281a0
2415b0f
ac64f71
75fa6b5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,6 +30,7 @@ jest.mock("@gorhom/bottom-sheet", () => ({ | |
| // Mock stellar helpers | ||
| jest.mock("helpers/stellar", () => ({ | ||
| isValidStellarAddress: jest.fn().mockReturnValue(true), | ||
| isFederationAddress: jest.fn().mockReturnValue(false), | ||
| truncateAddress: jest.fn( | ||
| (address) => `${address.slice(0, 4)}...${address.slice(-4)}`, | ||
| ), | ||
|
|
@@ -73,10 +74,15 @@ const getSendStoreMock = (overrides = {}) => | |
| recentAddresses: [], | ||
| searchResults: [], | ||
| searchError: null, | ||
| isSearching: false, | ||
| isValidDestination: false, | ||
| isDestinationFunded: null, | ||
| federationMemo: "", | ||
| loadRecentAddresses: mockLoadRecentAddresses, | ||
| searchAddress: mockSearchAddress, | ||
| addRecentAddress: mockAddRecentAddress, | ||
| setDestinationAddress: mockSetDestinationAddress, | ||
| clearSearchState: jest.fn(), | ||
| resetSendRecipient: mockReset, | ||
|
Comment on lines
86
to
90
|
||
| ...overrides, | ||
| }); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.