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 Cloud migration rendered-help assertions

pulse-triage[bot]529d564375c9
diff --git a/frontend-modern/src/features/docs/__tests__/cloudMigrationGuide.test.ts b/frontend-modern/src/features/docs/__tests__/cloudMigrationGuide.test.ts
index 713b29edbb..e69cc21327 100644
--- a/frontend-modern/src/features/docs/__tests__/cloudMigrationGuide.test.ts
+++ b/frontend-modern/src/features/docs/__tests__/cloudMigrationGuide.test.ts
@@ -30,7 +30,9 @@ describe('Cloud configuration-transfer help', () => {
const heading = [...guide.querySelectorAll('h3')].find((node) => text(node) === name);
expect(heading?.nextElementSibling?.tagName).toBe('OL');
expect(heading?.nextElementSibling?.querySelectorAll('li')).toHaveLength(5);
- expect(text(heading!.nextElementSibling!)).toContain('destination-local administrator access');
+ expect(text(heading!.nextElementSibling!)).toContain(
+ 'destination-local administrator access',
+ );
expect(text(heading!.nextElementSibling!)).toContain('API-token records');
}
expect(text(guide)).toContain('single-active cutover before importing');
@@ -55,7 +57,9 @@ describe('Cloud configuration-transfer help', () => {
expect(link?.hasAttribute('data-doc-link')).toBe(true);
expect(article(name).querySelector(`[id="${fragment}"]`)).not.toBeNull();
}
- expect(guide.querySelector('a[href="#verify-the-move-before-retiring-the-source"]')).not.toBeNull();
+ expect(
+ guide.querySelector('a[href="#verify-the-move-before-retiring-the-source"]'),
+ ).not.toBeNull();
expect(guide.querySelector('#verify-the-move-before-retiring-the-source')).not.toBeNull();
});
});