From 95bbf2e5a7a83d709e39de9af28f9c24e4dce564 Mon Sep 17 00:00:00 2001 From: tamarzanzouri Date: Wed, 9 Oct 2024 16:23:08 -0400 Subject: [PATCH] linting --- .../ErrorRecoveryFlows/hooks/useRecoveryCommands.ts | 1 - .../getFixedTrashLabwareDefinitionsByUri.test.ts | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/src/organisms/ErrorRecoveryFlows/hooks/useRecoveryCommands.ts b/app/src/organisms/ErrorRecoveryFlows/hooks/useRecoveryCommands.ts index 19a266755b3..ec3f6ac42c0 100644 --- a/app/src/organisms/ErrorRecoveryFlows/hooks/useRecoveryCommands.ts +++ b/app/src/organisms/ErrorRecoveryFlows/hooks/useRecoveryCommands.ts @@ -217,7 +217,6 @@ export function useRecoveryCommands({ const releaseGripperJaws = useCallback((): Promise => { return chainRunRecoveryCommands([RELEASE_GRIPPER_JAW]) }, [chainRunRecoveryCommands]) - return { resumeRun, diff --git a/shared-data/js/helpers/__tests__/getFixedTrashLabwareDefinitionsByUri.test.ts b/shared-data/js/helpers/__tests__/getFixedTrashLabwareDefinitionsByUri.test.ts index 3d4a489e131..344185c43cb 100644 --- a/shared-data/js/helpers/__tests__/getFixedTrashLabwareDefinitionsByUri.test.ts +++ b/shared-data/js/helpers/__tests__/getFixedTrashLabwareDefinitionsByUri.test.ts @@ -6,9 +6,9 @@ import fixedTrashUncasted from '../../../labware/definitions/2/opentrons_1_trash describe('getFixedTrashLabwareDefinitionsByUri', () => { it(`should return the fixed trash labware defition`, () => { expect( - getFixedTrashLabwareDefinitionsByUri( - 'opentrons_1_trash_3200ml_fixed' - ) - ).toEqual({ ['opentrons_1_trash_3200ml_fixed']: (fixedTrashUncasted as unknown) as LabwareDefinition2 }) + getFixedTrashLabwareDefinitionsByUri('opentrons_1_trash_3200ml_fixed') + ).toEqual({ + opentrons_1_trash_3200ml_fixed: (fixedTrashUncasted as unknown) as LabwareDefinition2, + }) }) })