Skip to content

Commit 6ac73ef

Browse files
github-actions[bot]viambotcheukt
authored
Automated Protos Update (#269)
Co-authored-by: viambot <[email protected]> Co-authored-by: Cheuk Tse <[email protected]>
1 parent 262aa1e commit 6ac73ef

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

buf.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ deps:
1414
- remote: buf.build
1515
owner: viamrobotics
1616
repository: api
17-
commit: 76942291db1c45b7a6892fcd40cb0285
18-
digest: shake256:6092b726f603f898bd08b7463a4753b7f9ae5d743aab772f3cb99286bc1f076d27befd1490a9ef2ab3e38bcca2deebcf53688a3a3738961e924bfaa7cb0d7dc6
17+
commit: cf5fa527810b49c5871e5607c6670b47
18+
digest: shake256:6b6be27053039848cb5db09d992ddefd663ef49e56d91dea30e4a4f4fedc6d1886ce4b8e398310856ab5f3d2f97e99c6567359e5f4aec85f24cb4b61c27af113
1919
- remote: buf.build
2020
owner: viamrobotics
2121
repository: goutils

src/services/motion/client.test.ts

+12
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,14 @@ describe('moveOnGlobe', () => {
4343
type: 'component',
4444
subtype: 'base',
4545
name: 'myBase',
46+
machinePartId: '',
4647
};
4748
const expectedMovementSensorName = {
4849
namespace: 'viam',
4950
type: 'component',
5051
subtype: 'movementsensor',
5152
name: 'myMovementsensor',
53+
machinePartId: '',
5254
};
5355
const expectedMotionConfiguration = undefined;
5456
const expectedExtra = {};
@@ -89,12 +91,14 @@ describe('moveOnGlobe', () => {
8991
type: 'component',
9092
subtype: 'base',
9193
name: 'myBase',
94+
machinePartId: '',
9295
},
9396
{
9497
namespace: 'viam',
9598
type: 'component',
9699
subtype: 'movementsensor',
97100
name: 'myMovementsensor',
101+
machinePartId: '',
98102
}
99103
)
100104
).resolves.toStrictEqual(testExecutionId);
@@ -133,12 +137,14 @@ describe('moveOnGlobe', () => {
133137
type: 'component',
134138
subtype: 'base',
135139
name: 'myBase',
140+
machinePartId: '',
136141
};
137142
const expectedMovementSensorName = {
138143
namespace: 'viam',
139144
type: 'component',
140145
subtype: 'movementsensor',
141146
name: 'myMovementsensor',
147+
machinePartId: '',
142148
};
143149
const expectedMotionConfiguration = {
144150
obstacleDetectorsList: [
@@ -148,12 +154,14 @@ describe('moveOnGlobe', () => {
148154
type: 'service',
149155
subtype: 'vision',
150156
name: 'myVisionService',
157+
machinePartId: '',
151158
},
152159
camera: {
153160
namespace: 'viam',
154161
type: 'component',
155162
subtype: 'camera',
156163
name: 'myCamera',
164+
machinePartId: '',
157165
},
158166
},
159167
],
@@ -219,6 +227,7 @@ describe('stopPlan', () => {
219227
type: 'component',
220228
subtype: 'base',
221229
name: 'myBase',
230+
machinePartId: '',
222231
};
223232
const expectedExtra = {};
224233
const mock = vi
@@ -244,6 +253,7 @@ describe('stopPlan', () => {
244253
type: 'component',
245254
subtype: 'base',
246255
name: 'myBase',
256+
machinePartId: '',
247257
};
248258
const expectedExtra = { some: 'extra' };
249259
const mock = vi
@@ -310,6 +320,7 @@ describe('getPlan', () => {
310320
type: 'component',
311321
subtype: 'base',
312322
name: 'myBase',
323+
machinePartId: '',
313324
};
314325
const expectedLastPlanOnly = false;
315326
const expectedExecutionID = '';
@@ -340,6 +351,7 @@ describe('getPlan', () => {
340351
type: 'component',
341352
subtype: 'base',
342353
name: 'myBase',
354+
machinePartId: '',
343355
};
344356
const expectedLastPlanOnly = true;
345357
const expectedExecutionID = 'some specific executionID';

0 commit comments

Comments
 (0)