mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-09-26 09:28:06 +00:00
fix: compat zh transport
This commit is contained in:
@@ -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.`);
|
||||
|
||||
Reference in New Issue
Block a user