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.

Fix storage row boundary guardrail

rcourtman40058fbc49da
diff --git a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
index 9c82375c91..ee77c8f328 100644
--- a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
+++ b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
@@ -1317,11 +1317,9 @@ describe('frontend resource type boundaries', () => {
expect(storagePoolRowSource).not.toContain('const hostLabel = createMemo(');
expect(storagePoolRowSource).not.toContain('const topologyLabel = createMemo(');
expect(storagePoolRowPresentationSource).toContain('export const buildStoragePoolRowModel');
- expect(storagePoolRowPresentationSource).toContain('getSourcePlatformPresentation');
+ expect(storagePoolRowPresentationSource).toContain('getStorageRecordHostLabel');
+ expect(storagePoolRowPresentationSource).toContain('getStorageRecordTopologyLabel');
expect(storagePoolRowPresentationSource).toContain('getCompactStoragePoolProtectionLabel');
- expect(storagePoolRowPresentationSource).toContain('getCompactStoragePoolImpactLabel');
- expect(storagePoolRowPresentationSource).toContain('getCompactStoragePoolIssueLabel');
- expect(storagePoolRowPresentationSource).toContain('getCompactStoragePoolIssueSummary');
expect(storagePoolRowPresentationSource).toContain('getCompactStoragePoolProtectionTitle');
expect(storagePoolRowPresentationSource).toContain('getStoragePoolStateLabel');
expect(storagePoolRowPresentationSource).toContain('getStoragePoolStateTitle');