1
1
import { beforeEach , describe , it , expect , vi } from 'vitest'
2
2
import {
3
- blowoutUtil ,
3
+ blowoutLocationHelper ,
4
4
SOURCE_WELL_BLOWOUT_DESTINATION ,
5
5
DEST_WELL_BLOWOUT_DESTINATION ,
6
6
} from '../utils'
@@ -55,7 +55,7 @@ describe('blowoutUtil', () => {
55
55
vi . mocked ( curryCommandCreator ) . mockClear ( )
56
56
} )
57
57
it ( 'blowoutUtil curries blowout with source well params' , ( ) => {
58
- blowoutUtil ( {
58
+ blowoutLocationHelper ( {
59
59
...blowoutArgs ,
60
60
blowoutLocation : SOURCE_WELL_BLOWOUT_DESTINATION ,
61
61
} )
@@ -84,7 +84,7 @@ describe('blowoutUtil', () => {
84
84
} ,
85
85
} ,
86
86
}
87
- blowoutUtil ( {
87
+ blowoutLocationHelper ( {
88
88
...blowoutArgs ,
89
89
destLabwareId : wasteChuteId ,
90
90
invariantContext : invariantContext ,
@@ -98,7 +98,7 @@ describe('blowoutUtil', () => {
98
98
} )
99
99
} )
100
100
it ( 'blowoutUtil curries blowout with dest plate params' , ( ) => {
101
- blowoutUtil ( {
101
+ blowoutLocationHelper ( {
102
102
...blowoutArgs ,
103
103
blowoutLocation : DEST_WELL_BLOWOUT_DESTINATION ,
104
104
} )
@@ -116,7 +116,7 @@ describe('blowoutUtil', () => {
116
116
} )
117
117
} )
118
118
it ( 'blowoutUtil curries blowout with an arbitrary labware Id' , ( ) => {
119
- blowoutUtil ( {
119
+ blowoutLocationHelper ( {
120
120
...blowoutArgs ,
121
121
blowoutLocation : TROUGH_LABWARE ,
122
122
} )
@@ -134,7 +134,7 @@ describe('blowoutUtil', () => {
134
134
} )
135
135
} )
136
136
it ( 'blowoutUtil returns an empty array if not given a blowoutLocation' , ( ) => {
137
- const result = blowoutUtil ( {
137
+ const result = blowoutLocationHelper ( {
138
138
...blowoutArgs ,
139
139
blowoutLocation : null ,
140
140
} )
0 commit comments