Skip to content

Commit

Permalink
fix failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jerader committed Dec 14, 2023
1 parent c281610 commit e41347e
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,14 @@ describe('generateRobotStateTimeline', () => {
"aspirate",
"dispense",
"moveToAddressableAreaForDropTip",
"dropTipInPlace",
],
Array [
"pickUpTip",
"aspirate",
"dispense",
"moveToAddressableAreaForDropTip",
"dropTipInPlace",
],
Array [
"pickUpTip",
Expand All @@ -149,12 +151,14 @@ describe('generateRobotStateTimeline', () => {
"aspirate",
"dispense",
"moveToAddressableAreaForDropTip",
"dropTipInPlace",
"pickUpTip",
"aspirate",
"dispense",
"aspirate",
"dispense",
"moveToAddressableAreaForDropTip",
"dropTipInPlace",
],
]
`)
Expand Down
22 changes: 22 additions & 0 deletions step-generation/src/__tests__/transfer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2412,6 +2412,14 @@ describe('advanced options', () => {
alternateDropLocation: true,
},
},
{
commandType: 'dropTipInPlace',
key: expect.any(String),
params: {
pipetteId: 'p300SingleId',
},
},

{
commandType: 'pickUpTip',
key: expect.any(String),
Expand Down Expand Up @@ -3090,6 +3098,13 @@ describe('advanced options', () => {
alternateDropLocation: true,
},
},
{
commandType: 'dropTipInPlace',
key: expect.any(String),
params: {
pipetteId: 'p300SingleId',
},
},
{
commandType: 'pickUpTip',
key: expect.any(String),
Expand Down Expand Up @@ -3465,6 +3480,13 @@ describe('advanced options', () => {
alternateDropLocation: true,
},
},
{
commandType: 'dropTipInPlace',
key: expect.any(String),
params: {
pipetteId: 'p300SingleId',
},
},
{
commandType: 'pickUpTip',
key: expect.any(String),
Expand Down
7 changes: 7 additions & 0 deletions step-generation/src/fixtures/commandFixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,13 @@ export const dropTipHelper = (pipette?: string): CreateCommand[] => [
alternateDropLocation: true,
},
},
{
commandType: 'dropTipInPlace',
key: expect.any(String),
params: {
pipetteId: pipette ?? DEFAULT_PIPETTE,
},
},
]
export const dropTipIntoWasteChuteHelper = (
pipette?: string
Expand Down

0 comments on commit e41347e

Please sign in to comment.