This commit is contained in:
James Babcock committed 2026-10-10 22:56:28 -07:00
commit f6a4615953
24 files changed
+518 -176

No files matched your search

+1 -1
View File
@@ -690,7 +690,7 @@ test('resizing a terminal reconnects with the new grid and ignores callbacks fro
},
} } },
};
const socketContext = { exports: {}, com: context.com };
const socketContext = { exports: {}, com: context.com, require: () => ({ toJavaBytes: bytes => bytes }) };
vm.runInNewContext(js(read('app/native/socket.ts')), socketContext);
context.require = name => name === './socket' ? socketContext.exports : {};
vm.runInNewContext(js(read('app/native/g2mirror-client.ts')), context);