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 7, 2023
1 parent e37d514 commit df7153a
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 df7153a

Please sign in to comment.