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.

Compare rendered profile guidance without Markdown line breaks

pulse-triage[bot]9c68df2eb7b6
diff --git a/frontend-modern/src/features/docs/__tests__/productionAgentProfilesGuide.test.ts b/frontend-modern/src/features/docs/__tests__/productionAgentProfilesGuide.test.ts
index b79409b327..65687ebf4b 100644
--- a/frontend-modern/src/features/docs/__tests__/productionAgentProfilesGuide.test.ts
+++ b/frontend-modern/src/features/docs/__tests__/productionAgentProfilesGuide.test.ts
@@ -64,7 +64,7 @@ describe('Production guide agent-profile choice', () => {
expect(links).toHaveLength(2);
expect(article.querySelector('#choose-a-linux-agent-profile')).not.toBeNull();
expect(links[0].closest('table')).not.toBeNull();
- expect(links[1].closest('li')?.textContent).toContain(
+ expect(links[1].closest('li')?.textContent?.replace(/\s+/g, ' ')).toContain(
'Docker socket authority and reduced telemetry',
);
});