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 the additive History help regression correction

pulse-triage[bot]3782177af95c
diff --git a/frontend-modern/src/utils/__tests__/metricsHistoryHelp.test.ts b/frontend-modern/src/utils/__tests__/metricsHistoryHelp.test.ts
index 20c8aeb1df..e9b85d45f3 100644
--- a/frontend-modern/src/utils/__tests__/metricsHistoryHelp.test.ts
+++ b/frontend-modern/src/utils/__tests__/metricsHistoryHelp.test.ts
@@ -49,9 +49,7 @@ describe('History interpretation help', () => {
"Not necessarily the highest value in the whole selected range or the value at an alert's exact time",
);
const renderer = read('frontend-modern/src/components/Workloads/GuestDrawerHistory.tsx');
- expect(renderer).toContain(
- 'getHistoryReadoutLabel(props.source, activeTimestamp() !== null)',
- );
+ expect(renderer).toContain('getHistoryReadoutLabel(props.source, activeTimestamp() !== null)');
expect(getHistoryReadoutLabel('store', false)).toBe('Latest stored');
expect(getHistoryReadoutLabel('store', true)).toBe('Stored');
for (const label of ['Latest stored', 'Stored']) {