diff --git a/app/src/organisms/Devices/ProtocolRun/SetupModuleAndDeck/__tests__/SetupModulesMap.test.tsx b/app/src/organisms/Devices/ProtocolRun/SetupModuleAndDeck/__tests__/SetupModulesMap.test.tsx index faec7b64275..7772e724546 100644 --- a/app/src/organisms/Devices/ProtocolRun/SetupModuleAndDeck/__tests__/SetupModulesMap.test.tsx +++ b/app/src/organisms/Devices/ProtocolRun/SetupModuleAndDeck/__tests__/SetupModulesMap.test.tsx @@ -43,7 +43,7 @@ vi.mock('@opentrons/shared-data', async importOriginal => { inferModuleOrientationFromXCoordinate: vi.fn(), } }) -vi.mock('/app/resources/runs') +vi.mock('/app/resources/runs/useMostRecentCompletedAnalysis') vi.mock('../../../../ODD/ProtocolSetup/ProtocolSetupModulesAndDeck/utils') vi.mock('../../../ModuleInfo') vi.mock('/app/resources/modules') diff --git a/app/src/organisms/LabwarePositionCheck/useLaunchLPC.tsx b/app/src/organisms/LabwarePositionCheck/useLaunchLPC.tsx index 7be03da7c39..ae90b665c96 100644 --- a/app/src/organisms/LabwarePositionCheck/useLaunchLPC.tsx +++ b/app/src/organisms/LabwarePositionCheck/useLaunchLPC.tsx @@ -8,9 +8,9 @@ import { import { useCreateTargetedMaintenanceRunMutation, useNotifyRunQuery, + useMostRecentCompletedAnalysis, } from '/app/resources/runs' import { LabwarePositionCheck } from '.' -import { useMostRecentCompletedAnalysis } from '/app/resources/runs' import { getLabwareDefinitionsFromCommands } from '/app/molecules/Command/utils/getLabwareDefinitionsFromCommands' import type { RobotType } from '@opentrons/shared-data' diff --git a/app/src/organisms/RobotSettingsCalibration/__tests__/CalibrationHealthCheck.test.tsx b/app/src/organisms/RobotSettingsCalibration/__tests__/CalibrationHealthCheck.test.tsx index 42a88e1556c..f00ea136283 100644 --- a/app/src/organisms/RobotSettingsCalibration/__tests__/CalibrationHealthCheck.test.tsx +++ b/app/src/organisms/RobotSettingsCalibration/__tests__/CalibrationHealthCheck.test.tsx @@ -38,6 +38,7 @@ vi.mock('/app/redux/config') vi.mock('/app/redux/pipettes') vi.mock('/app/organisms/Devices/hooks') vi.mock('/app/resources/instruments') +vi.mock('/app/redux-resources/robots') const mockAttachedPipettes: AttachedPipettesByMount = { left: mockAttachedPipette, diff --git a/app/src/resources/runs/__fixtures__/index.ts b/app/src/resources/runs/__fixtures__/index.ts index 40b957f9333..056f2859641 100644 --- a/app/src/resources/runs/__fixtures__/index.ts +++ b/app/src/resources/runs/__fixtures__/index.ts @@ -1,4 +1,4 @@ -export * from './mockRuns' import modifiedSimpleV6Protocol from './modifiedSimpleV6.json' +export * from './mockRuns' export { modifiedSimpleV6Protocol }