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 stacked disk branch coverage test

Pulse Autonomous Maintainer0512d0762654
diff --git a/frontend-modern/src/components/Workloads/__tests__/stackedDiskBarModel.branchcov0712b.test.ts b/frontend-modern/src/components/Workloads/__tests__/stackedDiskBarModel.branchcov0712b.test.ts
index 522d54246d..054068a04c 100644
--- a/frontend-modern/src/components/Workloads/__tests__/stackedDiskBarModel.branchcov0712b.test.ts
+++ b/frontend-modern/src/components/Workloads/__tests__/stackedDiskBarModel.branchcov0712b.test.ts
@@ -504,7 +504,9 @@ describe('stackedDiskBarModel (branch coverage 2)', () => {
it('falls back to the aggregate disk when every listed disk has unknown usage', () => {
const p = buildStackedDiskBarPresentation(
{
- disks: [makeDisk({ mountpoint: '/srv/archive', total: 200, used: 0, free: 0, usage: -1 })],
+ disks: [
+ makeDisk({ mountpoint: '/srv/archive', total: 200, used: 0, free: 0, usage: -1 }),
+ ],
aggregateDisk: makeDisk({ total: 100, used: 25, free: 75, usage: 25 }),
},
400,