nur wenn xyz genaendert, dann senden

This commit is contained in:
ChK
2026-04-07 09:30:46 +02:00
parent 3d33ecd747
commit a47c168a22
11 changed files with 250 additions and 159 deletions

View File

@@ -98,8 +98,8 @@ describe('Robot.sendCommand & cmdReceivers', () => {
test('Receiver-Reihenfolge bleibt erhalten', () => {
const order = []
const r1 = { moveTo: () => order.push('r1') }
const r2 = { moveTo: () => order.push('r2') }
const r1 = { execCommand: () => order.push('r1') }
const r2 = { execCommand: () => order.push('r2') }
robot.cmdReceivers.push(r1, r2)
robot.sendCommand()