Skip to content

Commit 8325f9d

Browse files
committed
lint
1 parent ec5c4da commit 8325f9d

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

app/src/organisms/LabwarePositionCheck/LPCFlows/hooks/useInitLPCStore/__tests__/useInitLPCStore.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ describe('useInitLPCStore', () => {
251251
lastStepIndices: null,
252252
currentSubstep: null,
253253
},
254+
ui: { showDefaultOffsetInfoBanner: true },
254255
})
255256
expect(sortRunRecordOffsets).toHaveBeenCalledWith(
256257
MOCK_RUN_RECORD.data.labwareOffsets

app/src/organisms/LabwarePositionCheck/__fixtures__/mockLPCContentProps.ts

-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,4 @@ export const mockLPCContentProps: LPCWizardContentProps = {
77
commandUtils: {} as any,
88
proceedStep: vi.fn(),
99
goBackLastStep: vi.fn(),
10-
bannerUtils: {
11-
defaultOffsetInfoBanner: { toggleBanner: vi.fn(), showBanner: false },
12-
},
1310
}

app/src/organisms/LabwarePositionCheck/hooks/useLPCCommands/__tests__/useLPCHeaderCommands.test.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ describe('useLPCHeaderCommands', () => {
6262
proceedStep: mockProceedStep,
6363
goBackLastStep: vi.fn(),
6464
runId: mockRunId,
65-
bannerUtils: {
66-
defaultOffsetInfoBanner: { showBanner: false, toggleBanner: vi.fn() },
67-
},
6865
}
6966

7067
store = createStore(vi.fn(), {})

app/src/organisms/LabwarePositionCheck/steps/HandleLabware/LPCLabwareDetails/__tests__/OffsetBannerContainer.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, expect, it, beforeEach, vi } from 'vitest'
2-
import { screen, fireEvent } from '@testing-library/react'
2+
import { screen } from '@testing-library/react'
33
import { useDispatch } from 'react-redux'
44

55
import { renderWithProviders } from '/app/__testing-utils__'

0 commit comments

Comments
 (0)