From e13a0687e5df63abc83178638ebdcbd11d81449a Mon Sep 17 00:00:00 2001 From: Claude Bot Date: Fri, 23 Jan 2026 23:27:13 +0000 Subject: [PATCH] fix(test): update 26337 test to match new error message format The error message format changed from "error occurred while resolving" to "failed to resolve" - update test to match. Co-Authored-By: Claude Opus 4.5 --- test/regression/issue/26337.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/regression/issue/26337.test.ts b/test/regression/issue/26337.test.ts index 8c6f27749d..802f6212eb 100644 --- a/test/regression/issue/26337.test.ts +++ b/test/regression/issue/26337.test.ts @@ -67,10 +67,11 @@ describe("issue #26337 - missing file: dependency error should show dependency n failProc.exited, ]); - // The error output should mention the dependency name + // The error output should mention the dependency name and path const output = stdout + stderr; expect(output).toContain("@scope/dep"); - expect(output).toContain("error occurred while resolving"); + expect(output).toContain("file:./nonexistent/path"); + expect(output).toContain("failed to resolve"); // The install should fail expect(exitCode).toBe(1);