mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-03 04:38:48 +00:00
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:
parent
105e59bffb
commit
17f2d7a45d
1 changed files with 3 additions and 12 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue