Skip to content

Commit

Permalink
clean up unused consts
Browse files Browse the repository at this point in the history
  • Loading branch information
jerader committed Dec 6, 2023
1 parent 6195e82 commit d635c0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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 = {
Expand Down
3 changes: 0 additions & 3 deletions protocol-designer/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit d635c0c

Please sign in to comment.