@@ -26,44 +26,6 @@ const prevRobotState: RobotState = {
26
26
27
27
describe ( 'dropTipInWasteChute' , ( ) => {
28
28
it ( 'returns correct commands for drop tip in waste chute' , ( ) => {
29
- const args = {
30
- pipetteId : DEFAULT_PIPETTE ,
31
- wasteChuteId : mockWasteChuteId ,
32
- }
33
- const result = dropTipInWasteChute ( args , invariantContext , prevRobotState )
34
- expect ( getSuccessResult ( result ) . commands ) . toEqual ( [
35
- {
36
- commandType : 'moveToAddressableArea' ,
37
- key : expect . any ( String ) ,
38
- params : {
39
- pipetteId : DEFAULT_PIPETTE ,
40
- addressableAreaName : '1ChannelWasteChute' ,
41
- offset : { x : 0 , y : 0 , z : 0 } ,
42
- } ,
43
- } ,
44
- {
45
- commandType : 'dropTipInPlace' ,
46
- key : expect . any ( String ) ,
47
- params : {
48
- pipetteId : DEFAULT_PIPETTE ,
49
- } ,
50
- } ,
51
- ] )
52
- expect ( getSuccessResult ( result ) . python ) . toBe ( 'mockPythonName.drop_tip()' )
53
- } )
54
- it ( 'returns correct commands for drop tip in waste chute when trash bin also exists' , ( ) => {
55
- const mockTrashId = 'mockTrashId'
56
- invariantContext = {
57
- ...invariantContext ,
58
- additionalEquipmentEntities : {
59
- ...invariantContext . additionalEquipmentEntities ,
60
- [ mockTrashId ] : {
61
- name : 'trashBin' ,
62
- location : 'cutoutA3' ,
63
- id : mockTrashId ,
64
- } ,
65
- } ,
66
- }
67
29
const args = {
68
30
pipetteId : DEFAULT_PIPETTE ,
69
31
wasteChuteId : mockWasteChuteId ,
0 commit comments