@@ -43,14 +43,12 @@ describe('moveOnGlobe', () => {
43
43
type : 'component' ,
44
44
subtype : 'base' ,
45
45
name : 'myBase' ,
46
- machinePartId : '' ,
47
46
} ;
48
47
const expectedMovementSensorName = {
49
48
namespace : 'viam' ,
50
49
type : 'component' ,
51
50
subtype : 'movementsensor' ,
52
51
name : 'myMovementsensor' ,
53
- machinePartId : '' ,
54
52
} ;
55
53
const expectedMotionConfiguration = undefined ;
56
54
const expectedExtra = { } ;
@@ -91,14 +89,12 @@ describe('moveOnGlobe', () => {
91
89
type : 'component' ,
92
90
subtype : 'base' ,
93
91
name : 'myBase' ,
94
- machinePartId : '' ,
95
92
} ,
96
93
{
97
94
namespace : 'viam' ,
98
95
type : 'component' ,
99
96
subtype : 'movementsensor' ,
100
97
name : 'myMovementsensor' ,
101
- machinePartId : '' ,
102
98
}
103
99
)
104
100
) . resolves . toStrictEqual ( testExecutionId ) ;
@@ -137,14 +133,12 @@ describe('moveOnGlobe', () => {
137
133
type : 'component' ,
138
134
subtype : 'base' ,
139
135
name : 'myBase' ,
140
- machinePartId : '' ,
141
136
} ;
142
137
const expectedMovementSensorName = {
143
138
namespace : 'viam' ,
144
139
type : 'component' ,
145
140
subtype : 'movementsensor' ,
146
141
name : 'myMovementsensor' ,
147
- machinePartId : '' ,
148
142
} ;
149
143
const expectedMotionConfiguration = {
150
144
obstacleDetectorsList : [
@@ -154,14 +148,12 @@ describe('moveOnGlobe', () => {
154
148
type : 'service' ,
155
149
subtype : 'vision' ,
156
150
name : 'myVisionService' ,
157
- machinePartId : '' ,
158
151
} ,
159
152
camera : {
160
153
namespace : 'viam' ,
161
154
type : 'component' ,
162
155
subtype : 'camera' ,
163
156
name : 'myCamera' ,
164
- machinePartId : '' ,
165
157
} ,
166
158
} ,
167
159
] ,
@@ -227,7 +219,6 @@ describe('stopPlan', () => {
227
219
type : 'component' ,
228
220
subtype : 'base' ,
229
221
name : 'myBase' ,
230
- machinePartId : '' ,
231
222
} ;
232
223
const expectedExtra = { } ;
233
224
const mock = vi
@@ -253,7 +244,6 @@ describe('stopPlan', () => {
253
244
type : 'component' ,
254
245
subtype : 'base' ,
255
246
name : 'myBase' ,
256
- machinePartId : '' ,
257
247
} ;
258
248
const expectedExtra = { some : 'extra' } ;
259
249
const mock = vi
@@ -320,7 +310,6 @@ describe('getPlan', () => {
320
310
type : 'component' ,
321
311
subtype : 'base' ,
322
312
name : 'myBase' ,
323
- machinePartId : '' ,
324
313
} ;
325
314
const expectedLastPlanOnly = false ;
326
315
const expectedExecutionID = '' ;
@@ -351,7 +340,6 @@ describe('getPlan', () => {
351
340
type : 'component' ,
352
341
subtype : 'base' ,
353
342
name : 'myBase' ,
354
- machinePartId : '' ,
355
343
} ;
356
344
const expectedLastPlanOnly = true ;
357
345
const expectedExecutionID = 'some specific executionID' ;
0 commit comments