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.

Pin the memory label chip padding, not its retired background

rcourtman5960a4dc3e97
diff --git a/frontend-modern/src/components/Workloads/__tests__/stackedMemoryBarModel.branchcov0724pm.test.ts b/frontend-modern/src/components/Workloads/__tests__/stackedMemoryBarModel.branchcov0724pm.test.ts
index 1914ed8d65..e88e3eb1ff 100644
--- a/frontend-modern/src/components/Workloads/__tests__/stackedMemoryBarModel.branchcov0724pm.test.ts
+++ b/frontend-modern/src/components/Workloads/__tests__/stackedMemoryBarModel.branchcov0724pm.test.ts
@@ -231,7 +231,7 @@ describe('stackedMemoryBarModel (branch coverage 0724pm)', () => {
});
it('counts the padding the label chip carries in StackedMemoryBar', () => {
- expect(stackedMemoryBarSource).toContain('bg-surface/80 px-1 text-center');
+ expect(stackedMemoryBarSource).toContain('px-1 text-center');
});
});
});