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.

Check the temperature guide's native same-document link

pulse-triage[bot]97c0e8164ab5
diff --git a/frontend-modern/src/features/docs/__tests__/temperatureFAQ.test.ts b/frontend-modern/src/features/docs/__tests__/temperatureFAQ.test.ts
index 6c4a87f311..93560aff46 100644
--- a/frontend-modern/src/features/docs/__tests__/temperatureFAQ.test.ts
+++ b/frontend-modern/src/features/docs/__tests__/temperatureFAQ.test.ts
@@ -122,8 +122,9 @@ describe('shipped temperature FAQ', () => {
expect(text).toContain('does not mean Pulse will alert on it');
expect(section.querySelector('pre, table')).toBeNull();
expect(section.querySelector('a')?.getAttribute('href')).toBe(
- '/docs/TEMPERATURE_MONITORING#check-existing-linux-readings-safely',
+ '#check-existing-linux-readings-safely',
);
- expect(section.querySelector('a')?.hasAttribute('data-doc-link')).toBe(true);
+ expect(guide.querySelector('#check-existing-linux-readings-safely')).not.toBeNull();
+ expect(section.querySelector('a')?.hasAttribute('target')).toBe(false);
});
});