fix: compat zh transport

This commit is contained in:
Nerivec
2026-09-12 21:58:48 +02:00
parent 44b5b6b12f
commit 747ac18e2a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ describe("Controller", () => {
backupPath: path.join(data.mockDir, "coordinator_backup.json"),
acceptJoiningDeviceHandler: expect.any(Function),
adapter: {concurrent: undefined, delay: undefined, disableLED: false, transmitPower: 14},
serialPort: {baudRate: undefined, rtscts: undefined, path: "/dev/dummy"},
transport: {baudRate: undefined, rtscts: undefined, path: "/dev/dummy"},
});
expect(mockZHController.start).toHaveBeenCalledTimes(1);
expect(mockLogger.info).toHaveBeenCalledWith(`Currently ${Object.values(devices).length - 1} devices are joined.`);