From 17f2d7a45d93ebd53347096edf46e44c8a0ef6fc Mon Sep 17 00:00:00 2001 From: "pulse-triage[bot]" <249995291+pulse-triage[bot]@users.noreply.github.com> Date: Wed, 30 Sep 2026 03:30:34 +0100 Subject: [PATCH] Restore formatting checks for safe recovery guidance Pulse PR #2341 run 36658394047 failed the locked Prettier check for docsLinks.test.ts. Format that test without changing its assertions or product behavior, preserving every reviewed commit. Contract-Neutral: Test-only locked Prettier formatting; no runtime or contract delta. Change-source: pulse-maintainer --- .../src/utils/__tests__/docsLinks.test.ts | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) 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];