feat: finish the remote-desktop plugin (B14)

This commit is contained in:
LukeGus committed 2026-09-24 01:02:45 -05:00
1 parent 0af2c94983
commit 14eb558b85
215 files changed
+30029 -3921

No files matched your search

@@ -171,4 +171,12 @@ describe("recordings.writer", () => {
expect(row.id).toBeGreaterThan(0);
});
it("enabledFor follows the host's recording switch", async () => {
const { mock, writer } = await setup();
await mock.ctx.settings.setHost(7, "enableSessionRecording", true);
await expect(writer.enabledFor(7)).resolves.toBe(true);
await mock.ctx.settings.setHost(7, "enableSessionRecording", false);
await expect(writer.enabledFor(7)).resolves.toBe(false);
});
});