test(cli): pin removed web config alias

This commit is contained in:
pku-xht
2026-08-07 17:14:14 +08:00
committed by Tianyi Cui
parent e8c7d4bef8
commit 9c5d23f0ce
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -87,6 +87,7 @@ describe('parseDshArgs', () => {
expect(exitCode(['web', '--dump-config', '--dump-default-config'])).toBe(1)
expect(exitCode(['web', '--dump-default-config', '--patch', 'w.yml'])).toBe(1)
expect(exitCode(['web', '--patch='])).toBe(1)
expect(exitCode(['web', '--config', 'w.yml'])).toBe(1)
// Boot-free dumps derive no flag patches; silently dropping the flags
// would print a tree that differs from the same invocation's boot.
expect(exitCode(['web', '--dump-config', '--port', '8080'])).toBe(1)