Skip to content
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

feature: adds custom network support #2468

Merged
merged 23 commits into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
953 changes: 5 additions & 948 deletions __tests__/components/Modals/__snapshots__/ConfirmModal.test.js.snap

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions __tests__/components/NetworkConfigurationTooltip.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import {
MAIN_NETWORK_LABEL,
DEFAULT_LANGUAGE,
} from '../../app/core/constants'
import NetworkConfigurationTooltip, { renderNode } from '../../app/components/NetworkConfigurationTooltip'
import NetworkConfigurationTooltip from '../../app/components/NetworkConfigurationTooltip'
import { renderNode } from '../../app/components/NetworkConfigurationTooltip/NetworkConfigurationTooltip'
import IntlWrapper from '../../app/components/Root/IntlWrapper'

const { LOADED, LOADING } = progressValues
Expand Down Expand Up @@ -62,9 +63,9 @@ const networkConfigTooltipSetup = (
const store = configureStore([thunk])(state)
const wrapper = mount(
<Provider store={store}>
<IntlWrapper lang="en">
<IntlWrapper store={store}>
<MemoryRouter initialEntries={['/']} keyLength={0}>
<NetworkConfigurationTooltip />
<NetworkConfigurationTooltip blockExplorer="Dora" />
</MemoryRouter>
</IntlWrapper>
</Provider>,
Expand All @@ -83,7 +84,7 @@ const renderNodeSetup = (
const store = configureStore([thunk])(state)
const wrapper = mount(
<Provider store={store}>
<IntlWrapper lang="en">
<IntlWrapper store={store}>
<MemoryRouter initialEntries={['/']} keyLength={0}>
<div>{renderNode(node)}</div>
</MemoryRouter>
Expand Down
325 changes: 0 additions & 325 deletions __tests__/components/Send.test.js

This file was deleted.

1 change: 1 addition & 0 deletions __tests__/components/Settings.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const initialState = {
language: DEFAULT_LANGUAGE,
currency: DEFAULT_CURRENCY_CODE,
soundEnabled: true,
chain: 'neo3',
},
},
},
Expand Down
Loading