From 08fbddae4a8abc043552417c774b5fb747d60592 Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Sun, 26 Apr 2026 22:46:32 +0700 Subject: [PATCH] test(cli): align disabled-provider expectation with daemon message Daemon emits 'Provider is disabled' for disabled providers (see session.ts emitProviderDisabledResponse). The test was asserting the older 'is not available' phrasing, which never matched the actual output. --- packages/cli/tests/15-provider.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/tests/15-provider.test.ts b/packages/cli/tests/15-provider.test.ts index 5e5683f74..eb60eea80 100644 --- a/packages/cli/tests/15-provider.test.ts +++ b/packages/cli/tests/15-provider.test.ts @@ -235,7 +235,7 @@ try { ); const output = modelsResult.stdout + modelsResult.stderr; assert( - output.includes("Provider claude is not available"), + output.includes("Provider claude is disabled"), "provider models should surface the daemon disabled error", ); assert(