From 9629289003b5db439a895d7cc130c3713285b022 Mon Sep 17 00:00:00 2001 From: koji Date: Tue, 17 Dec 2024 17:38:35 -0500 Subject: [PATCH] fix test errors --- .../{ProtocolNavBar.test.tsx => EditNavigation.test.tsx} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename protocol-designer/src/organisms/EditNavigation/__tests__/{ProtocolNavBar.test.tsx => EditNavigation.test.tsx} (96%) diff --git a/protocol-designer/src/organisms/EditNavigation/__tests__/ProtocolNavBar.test.tsx b/protocol-designer/src/organisms/EditNavigation/__tests__/EditNavigation.test.tsx similarity index 96% rename from protocol-designer/src/organisms/EditNavigation/__tests__/ProtocolNavBar.test.tsx rename to protocol-designer/src/organisms/EditNavigation/__tests__/EditNavigation.test.tsx index 387ef5c77c1..7bdbc1d8618 100644 --- a/protocol-designer/src/organisms/EditNavigation/__tests__/ProtocolNavBar.test.tsx +++ b/protocol-designer/src/organisms/EditNavigation/__tests__/EditNavigation.test.tsx @@ -4,7 +4,7 @@ import { describe, it, beforeEach, vi } from 'vitest' import { renderWithProviders } from '../../../__testing-utils__' import { i18n } from '../../../assets/localization' import { getFileMetadata } from '../../../file-data/selectors' -import { LiquidButton } from '../../../molecules/LiquidButton' +import { LiquidButton } from '../../../molecules' import { EditNavigation } from '..' @@ -13,7 +13,7 @@ import type { NavigateFunction } from 'react-router-dom' import type { TabProps } from '@opentrons/components' vi.mock('../../../file-data/selectors') -vi.mock('../LiquidButton') +vi.mock('../../../molecules/LiquidButton') const mockNavigate = vi.fn() vi.mock('react-router-dom', async importOriginal => {