Skip to content

Commit

Permalink
fix(protocol-designer): fix failing action test (#5002)
Browse files Browse the repository at this point in the history
  • Loading branch information
shlokamin committed Feb 13, 2020
1 parent 951a3e1 commit 46f6d3f
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -18,6 +18,9 @@ describe('steps actions', () => {
pipettes: { mount: 'left' },
})
formLevel.getNextDefaultPipetteId.mockReturnValue(pipetteId)
stepFormSelectors._getStepFormData.mockReturnValue({
stepType: 'magnet',
})
})

test('action is created to populate form with default engage height to scale when engage magnet step', () => {
Expand All @@ -44,6 +47,7 @@ describe('steps actions', () => {
moduleId: magnetModule,
magnetAction: magnetAction,
engageHeight: '10.9',
stepType: 'magnet',
},
},
])
Expand Down Expand Up @@ -73,6 +77,7 @@ describe('steps actions', () => {
moduleId: magnetModule,
magnetAction: magnetAction,
engageHeight: null,
stepType: 'magnet',
},
},
])
Expand Down

0 comments on commit 46f6d3f

Please sign in to comment.