fix: wrong import and mock

This commit is contained in:
Matthew Russell
2023-09-19 17:21:41 -07:00
parent 2329855ba6
commit 7b35b9d5cb
2 changed files with 3 additions and 3 deletions
@@ -8,8 +8,8 @@ jest.mock('@vegaprotocol/deposits', () => ({
),
}));
jest.mock('../../components/welcome-dialog/get-started.ts', () => ({
GetStarted: () => <div>GetStarted</div>,
jest.mock('../../components/welcome-dialog', () => ({
GetStartedCheckList: () => <div>GetStartedCheckList</div>,
}));
const renderJsx = (route = '/deposit') => {
@@ -11,7 +11,7 @@ import { MemoryRouter, Route, Routes } from 'react-router-dom';
import { VegaIconNames } from '@vegaprotocol/ui-toolkit';
import type { VegaWalletContextShape } from '@vegaprotocol/wallet';
import { VegaWalletContext } from '@vegaprotocol/wallet';
import { Routes as AppRoutes } from '../../pages/client-router';
import { Routes as AppRoutes } from '../../lib/links';
jest.mock('../node-health', () => ({
NodeHealthContainer: () => <span data-testid="node-health" />,