Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Format terminal file-preservation coverage

pulse-triage[bot]d9ad68815256
diff --git a/frontend-modern/src/utils/__tests__/agentInstallCommand.test.ts b/frontend-modern/src/utils/__tests__/agentInstallCommand.test.ts
index 6ef3bd80ea..58aa58508a 100644
--- a/frontend-modern/src/utils/__tests__/agentInstallCommand.test.ts
+++ b/frontend-modern/src/utils/__tests__/agentInstallCommand.test.ts
@@ -613,7 +613,9 @@ describe('terminal-to-runtime token-file preservation', { timeout: 25_000 }, ()
expect(readFileSync(join(fixture.dir, 'saved-changed'), 'utf8')).toBe(
phase === 0 || input !== inputs[phase - 1] ? 'true' : 'false',
);
- expect(execFileSync('stat', ['-c', '%a', state], { encoding: 'utf8' }).trim()).toBe('700');
+ expect(
+ execFileSync('stat', ['-c', '%a', state], { encoding: 'utf8' }).trim(),
+ ).toBe('700');
expect(
execFileSync('stat', ['-c', '%a', join(state, 'token')], { encoding: 'utf8' }).trim(),
).toBe('600');
@@ -628,7 +630,9 @@ describe('terminal-to-runtime token-file preservation', { timeout: 25_000 }, ()
expect(text).not.toContain(input);
}
assertUnixCleanup(fixture.dir);
- console.info(`terminal/writer uid=${uid} case=${name} phase=${phase} bytes=${input.length} exact=true private=true cleaned=true`);
+ console.info(
+ `terminal/writer uid=${uid} case=${name} phase=${phase} bytes=${input.length} exact=true private=true cleaned=true`,
+ );
}
} finally {
fixture.close();