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
This commit is contained in:
pulse-triage[bot] 2026-09-30 03:30:34 +01:00
parent 105e59bffb
commit 17f2d7a45d

View file

@ -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];