test(baseline): CI 宿主钉版跟随 engines.dsh 到 rc.3

ci.yml 的宿主钉版已由维护者改为 0.2.2-rc.3,dsh-baseline 的 CI 断言从 dev 钉版
常量 baseline 换成运行侧常量 hostBaseline,与 e2e / 安装脚本同一来源。
This commit is contained in:
hairyfbot committed 2026-11-21 12:00:00 +08:00
1 parent 778d16883c
commit ea8ee92527
1 file changed
+1 -1
+1 -1
View File
@@ -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)
})
})