mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-01 06:02:56 +00:00
test(hosts): include relay coverage in existing CI contracts
This commit is contained in:
@@ -357,7 +357,9 @@ test("disabled host configuration and source survive a fresh daemon instance", a
|
||||
sourceKey: "stable",
|
||||
});
|
||||
await paseo.hosts.update(host.registrationId, { enabled: false });
|
||||
expect((await stat(join(a.paseoHome, "hosts.json"))).mode & 0o777).toBe(0o600);
|
||||
// Windows exposes inherited ACLs, not POSIX owner/group/other mode bits.
|
||||
if (process.platform !== "win32")
|
||||
expect((await stat(join(a.paseoHome, "hosts.json"))).mode & 0o777).toBe(0o600);
|
||||
await a.close();
|
||||
const restarted = await createTestPaseoDaemon({ paseoHomeRoot: root, cleanup: false });
|
||||
cleanup.push(() => restarted.close());
|
||||
|
||||
Reference in New Issue
Block a user