-
Notifications
You must be signed in to change notification settings - Fork 364
Conversation
CLA Assistant Lite All Contributors have signed the CLA. |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
Cool, thanks! The CGW debug toggle might benefit from a |
It already reloads. I'll merge this now as it is purely code-related. |
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 👍
@@ -18,15 +18,9 @@ describe('fetchTokenCurrenciesBalances', () => { | |||
selectedCurrency: 'USD', | |||
}) | |||
|
|||
expect(getBalances).toHaveBeenCalledWith( | |||
GATEWAY_URL, |
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.
It can also be removed from the imports of this file
@@ -178,7 +178,7 @@ describe('<LoadSafePage>', () => { | |||
await waitFor(() => { | |||
fireEvent.change(safeAddressInputNode, { target: { value: validSafeAddress } }) | |||
|
|||
expect(mockedEndpoints.getSafeInfo).toBeCalledWith(GATEWAY_URL, rinkebyNetworkId, validSafeAddress) |
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.
GATEWAY_URL
can also be removed from the imports in this file
Pull Request Test Coverage Report for Build 2345706018
💛 - Coveralls |
What it solves
Dependency update
How this PR fixes it
The gateway SDK has been updated to the latest version and all instances requiring the gateway URL to be passes removed. The environment-depebdent
baseUrl
is now set on mount.How to test it
There should be no changes.