Add resilient dual-radio network failover
This commit is contained in:
@@ -21,4 +21,12 @@ describe("ADB configuration", () => {
|
||||
serial: "10.0.0.10:5555"
|
||||
});
|
||||
});
|
||||
|
||||
it("keeps automatic network management disabled by default", () => {
|
||||
expect(loadConfig({ NODE_ENV: "test" }).network).toEqual({
|
||||
enabled: false,
|
||||
statusPath: "/var/lib/pi-car-companion/network-status.json",
|
||||
commandPath: "/var/lib/pi-car-companion/network-command.json"
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user