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 metric threshold help verification with the locked formatter

pulse-triage[bot]1b5880470774
diff --git a/frontend-modern/src/utils/__tests__/metricThresholdHelp.test.ts b/frontend-modern/src/utils/__tests__/metricThresholdHelp.test.ts
index 828ac006cd..18ffba86f1 100644
--- a/frontend-modern/src/utils/__tests__/metricThresholdHelp.test.ts
+++ b/frontend-modern/src/utils/__tests__/metricThresholdHelp.test.ts
@@ -73,10 +73,12 @@ describe('existing metric threshold help', () => {
const element = article();
expect(element.querySelector('a[href="#quiet-hours-and-notification-holds"]')).not.toBeNull();
expect(
- element.querySelector('a[href="/docs/TROUBLESHOOTING#test-succeeds-but-real-alerts-are-missing"]'),
+ element.querySelector(
+ 'a[href="/docs/TROUBLESHOOTING#test-succeeds-but-real-alerts-are-missing"]',
+ ),
).not.toBeNull();
- expect(readFileSync(path.join(repoRoot, 'frontend-modern/public/docs/CONFIGURATION.md'), 'utf8')).toBe(
- source,
- );
+ expect(
+ readFileSync(path.join(repoRoot, 'frontend-modern/public/docs/CONFIGURATION.md'), 'utf8'),
+ ).toBe(source);
});
});