Skip to content

Commit

Permalink
just remove the dang ol option
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoster1 committed Apr 26, 2024
1 parent d37c09e commit 6b05236
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 164 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ export * from './Troubleshooting'
export * from './UpdateRobotSoftware'
export * from './UsageSettings'
export * from './UseOlderAspirateBehavior'
export * from './UseOlderProtocol'
11 changes: 0 additions & 11 deletions app/src/organisms/Devices/RobotSettings/RobotSettingsAdvanced.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import {
UpdateRobotSoftware,
UsageSettings,
UseOlderAspirateBehavior,
UseOlderProtocol,
} from './AdvancedTab'
import {
updateSetting,
Expand Down Expand Up @@ -229,16 +228,6 @@ export function RobotSettingsAdvanced({
/>
{isFlex ? null : (
<>
{findSettings('disableFastProtocolUpload') != null ? (
<>
<Divider marginY={SPACING.spacing16} />
<UseOlderProtocol
settings={findSettings('disableFastProtocolUpload')}
robotName={robotName}
isRobotBusy={isRobotBusy || isEstopNotDisengaged}
/>
</>
) : null}
<Divider marginY={SPACING.spacing16} />
<LegacySettings
settings={findSettings('deckCalibrationDots')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,17 +210,6 @@ describe('RobotSettings Advanced tab', () => {
).toBeNull()
})

it('should render UseOlderProtocol section for OT-2', () => {
render()
screen.getByText('Mock UseOlderProtocol Section')
})

it('should not render UseOlderProtocol section for Flex', () => {
when(useIsFlex).calledWith('otie').thenReturn(true)
render()
expect(screen.queryByText('Mock UseOlderProtocol Section')).toBeNull()
})

it('should not render EnableStatusLight section for OT-2', () => {
render()
expect(screen.queryByText('mock EnableStatusLight')).not.toBeInTheDocument()
Expand Down

0 comments on commit 6b05236

Please sign in to comment.