From d635c0c584151d033edf570846b92f1fece41001 Mon Sep 17 00:00:00 2001 From: Jethary Date: Mon, 4 Dec 2023 16:15:34 -0500 Subject: [PATCH] clean up unused consts --- .../modules/__tests__/EditModulesCard.test.tsx | 10 ++++------ protocol-designer/src/constants.ts | 3 --- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/protocol-designer/src/components/modules/__tests__/EditModulesCard.test.tsx b/protocol-designer/src/components/modules/__tests__/EditModulesCard.test.tsx index ee4b46b41dee..6aa5e59a015d 100644 --- a/protocol-designer/src/components/modules/__tests__/EditModulesCard.test.tsx +++ b/protocol-designer/src/components/modules/__tests__/EditModulesCard.test.tsx @@ -28,7 +28,6 @@ import { EditModulesCard } from '../EditModulesCard' import { CrashInfoBox } from '../CrashInfoBox' import { ModuleRow } from '../ModuleRow' import { AdditionalItemsRow } from '../AdditionalItemsRow' -import { FLEX_TRASH_DEF_URI } from '../../../constants' import { StagingAreasRow } from '../StagingAreasRow' jest.mock('../../../step-forms/selectors') @@ -310,12 +309,11 @@ describe('EditModulesCard', () => { id: mockStagingAreaId, location: 'B3', }, - }) - mockGetLabwareEntities.mockReturnValue({ - mockTrashId: { + mockTrash: { + name: 'trashBin', id: mockTrashId, - labwareDefURI: FLEX_TRASH_DEF_URI, - } as any, + location: 'cutoutA3', + }, }) props = { diff --git a/protocol-designer/src/constants.ts b/protocol-designer/src/constants.ts index 92b2ba2d5dfa..734d132948d0 100644 --- a/protocol-designer/src/constants.ts +++ b/protocol-designer/src/constants.ts @@ -156,6 +156,3 @@ export const DND_TYPES = { // Values for TC fields export const THERMOCYCLER_STATE: 'thermocyclerState' = 'thermocyclerState' export const THERMOCYCLER_PROFILE: 'thermocyclerProfile' = 'thermocyclerProfile' - -export const OT_2_TRASH_DEF_URI = 'opentrons/opentrons_1_trash_1100ml_fixed/1' -export const FLEX_TRASH_DEF_URI = 'opentrons/opentrons_1_trash_3200ml_fixed/1'