Merge pull request #1231 from bbassie/fix/link-test-system-info

Answer system info requests in the link integration test
This commit is contained in:
Bastiaan authored and GitHub committed 2026-11-18 14:29:13 +00:00
1 parent b8e96989af
commit eefb4be44b
1 file changed
+3
+3
View File
@@ -33,6 +33,9 @@ describe("Integration of lib/link", function() {
hostConnector = new TestHostConnector(url, 0.2);
hostConnector.token = linkHost.token;
hostConnector.hostId = linkHost.hostId;
// The controller requests system info on connect and waits for it before disconnecting
const hostLink = new lib.Link(hostConnector);
hostLink.handle(lib.SystemInfoRequest, () => lib.gatherSystemInfo(linkHost.hostId, false, false, 0));
});
afterEach(async function() {
await controlConnector.disconnect();