mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 22:55:24 +00:00
feat: finish the remote-desktop plugin (B14)
This commit is contained in:
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);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user