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.

Restore formatting checks for safe recovery guidance

pulse-triage[bot]17f2d7a45d93
diff --git a/frontend-modern/src/utils/__tests__/docsLinks.test.ts b/frontend-modern/src/utils/__tests__/docsLinks.test.ts
index 6e7cfdc2f9..46376c4b24 100644
--- a/frontend-modern/src/utils/__tests__/docsLinks.test.ts
+++ b/frontend-modern/src/utils/__tests__/docsLinks.test.ts
@@ -132,10 +132,7 @@ describe('docsLinks', () => {
});
it('keeps lockout and incident reporting guidance safe for the affected client', () => {
- const troubleshooting = readFileSync(
- path.join(repoRoot, 'docs', 'TROUBLESHOOTING.md'),
- 'utf8',
- );
+ const troubleshooting = readFileSync(path.join(repoRoot, 'docs', 'TROUBLESHOOTING.md'), 'utf8');
const recovery = troubleshooting.split('### Recovery Mode')[1].split('\n---')[0];
expect(recovery).toContain('[I forgot my password](#i-forgot-my-password)');
expect(recovery).toContain('browser-bound recovery');
@@ -153,14 +150,8 @@ describe('docsLinks', () => {
});
it('keeps clone identity recovery separate from destructive OS or credential resets', () => {
- const troubleshooting = readFileSync(
- path.join(repoRoot, 'docs', 'TROUBLESHOOTING.md'),
- 'utf8',
- );
- const agentGuide = readFileSync(
- path.join(repoRoot, 'docs', 'UNIFIED_AGENT.md'),
- 'utf8',
- );
+ const troubleshooting = readFileSync(path.join(repoRoot, 'docs', 'TROUBLESHOOTING.md'), 'utf8');
+ const agentGuide = readFileSync(path.join(repoRoot, 'docs', 'UNIFIED_AGENT.md'), 'utf8');
const shortGuide = troubleshooting
.split('#### Docker hosts appearing/disappearing')[1]
.split('\n### ')[0];