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 replication guidance checks

pulse-triage[bot]fe13b8bd6e9a
diff --git a/frontend-modern/src/features/docs/__tests__/proxmoxReplicationGuide.test.ts b/frontend-modern/src/features/docs/__tests__/proxmoxReplicationGuide.test.ts
index 450c9f6644..2157d86b98 100644
--- a/frontend-modern/src/features/docs/__tests__/proxmoxReplicationGuide.test.ts
+++ b/frontend-modern/src/features/docs/__tests__/proxmoxReplicationGuide.test.ts
@@ -14,7 +14,10 @@ function renderGuide(name: string): HTMLElement {
process.env.PULSE_REPLICATION_GUIDE_INPUT_DIRECTORY ??
path.join(repoRoot, 'frontend-modern/public/docs');
const article = document.createElement('article');
- article.innerHTML = renderDocMarkdown(readFileSync(path.join(directory, `${name}.md`), 'utf8'), name);
+ article.innerHTML = renderDocMarkdown(
+ readFileSync(path.join(directory, `${name}.md`), 'utf8'),
+ name,
+ );
return article;
}
@@ -96,7 +99,9 @@ describe('shipped Proxmox replication disagreement guidance', () => {
'a[href="/docs/VM_DISK_MONITORING#backup-safety"]',
);
expect(link?.textContent).toBe('backup safety procedure');
- expect(renderGuide('VM_DISK_MONITORING').querySelector(new URL(link!.href).hash)).not.toBeNull();
+ expect(
+ renderGuide('VM_DISK_MONITORING').querySelector(new URL(link!.href).hash),
+ ).not.toBeNull();
});
it('rejects disruptive diagnostics, broad permissions and live reenactment', () => {