G92-Grad + E-Korrektur
This commit is contained in:
@@ -101,7 +101,7 @@ describe('InputWS API response routing', () => {
|
||||
a.send('M114');
|
||||
|
||||
const parsed = JSON.parse(await aReply);
|
||||
expect(parsed.position).toEqual({ x: 5, y: 6, z: 7, a: 0, b: 0, c: 0 });
|
||||
expect(parsed.position).toEqual({ x: 5, y: 6, z: 7, a: 0, b: 0, c: 0, e: 0 });
|
||||
expect(await bSilent).toBe(true);
|
||||
|
||||
a.close();
|
||||
@@ -123,8 +123,8 @@ describe('InputWS API response routing', () => {
|
||||
|
||||
const aParsed = JSON.parse(await aReply);
|
||||
const bParsed = JSON.parse(await bReply);
|
||||
expect(aParsed.position).toEqual({ x: 1, y: 2, z: 3, a: 0, b: 0, c: 0 });
|
||||
expect(bParsed.position).toEqual({ x: 1, y: 2, z: 3, a: 0, b: 0, c: 0 });
|
||||
expect(aParsed.position).toEqual({ x: 1, y: 2, z: 3, a: 0, b: 0, c: 0, e: 0 });
|
||||
expect(bParsed.position).toEqual({ x: 1, y: 2, z: 3, a: 0, b: 0, c: 0, e: 0 });
|
||||
expect(robot.sendCommand).toHaveBeenCalled();
|
||||
|
||||
a.close();
|
||||
|
||||
Reference in New Issue
Block a user