diff --git a/tests/dsh-baseline.spec.ts b/tests/dsh-baseline.spec.ts index f9429251..fbd20369 100644 --- a/tests/dsh-baseline.spec.ts +++ b/tests/dsh-baseline.spec.ts @@ -51,7 +51,7 @@ describe('DSH host baseline', () => { it.each(['\n', '\r\n'])('pins CI with its heap budget and peer resolution intact (%j)', (eol) => { // Git may check out YAML as CRLF on Windows; the contract is the same. const source = ci.replace(/\r?\n/g, eol) - expect(source).toContain(`NODE_OPTIONS: --max-old-space-size=4096${eol} run: npm install -g @deepseek-ai/dsh@${baseline}${eol}`) + expect(source).toContain(`NODE_OPTIONS: --max-old-space-size=4096${eol} run: npm install -g @deepseek-ai/dsh@${hostBaseline}${eol}`) expect(source).not.toMatch(/^\s*run:.*--legacy-peer-deps/m) }) })