Skip to content

Commit af629e1

Browse files
d-wweiclaude
andcommitted
fix(tests): update CLI doctor integration test for new output format
The doctor command now outputs "doctor" (lowercase) in the banner. Test assertion changed to case-insensitive match. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9c7f23f commit af629e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/cli/installer/integration.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe('CLI integration', () => {
4141
const result = spawnSync('node', [CLI_PATH, 'doctor'], { encoding: 'utf-8', timeout: 15000 });
4242
// Doctor may exit 0 or 1 — both valid depending on system state
4343
const output = result.stderr || result.stdout;
44-
expect(output).toContain('Doctor');
44+
expect(output.toLowerCase()).toContain('doctor');
4545
// Should have at least one category section
4646
expect(output).toMatch(/Runtime|Worker|Database|Adapter/i);
4747
});

0 commit comments

Comments
 (0)