Skip to content

Commit 64ef2bc

Browse files
test(server): Claude reset tests skip on Windows hosts, like the other fixture tests
The two tests that redeem a Claude reset launch the extensionless mock CLI from makeTildeProviderFixtures, which Windows cannot execute. The other tests built on those fixtures return early on Windows; these two did not, and they run under a Platform override of "linux", so they fail on a Windows host with "Claude Agent CLI (`claude`) was not found on PATH". Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 1f6df6b commit 64ef2bc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎apps/server/src/provider/ProviderInstanceRegistry.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,7 @@ describe("ProviderInstanceRegistry — multi-instance codex slice", () => {
505505

506506
it.live("refreshes Claude usage after redeeming a reset", () =>
507507
Effect.gen(function* () {
508+
if (yield* HostProcess.isWindows) return;
508509
const { outcome, after } = yield* redeemClaudeReset({
509510
result: "reset",
510511
usageFailsAfterClaim: false,
@@ -516,6 +517,7 @@ describe("ProviderInstanceRegistry — multi-instance codex slice", () => {
516517

517518
it.live("reports Claude's answer when a claim changed nothing and the re-probe fails", () =>
518519
Effect.gen(function* () {
520+
if (yield* HostProcess.isWindows) return;
519521
const { outcome } = yield* redeemClaudeReset({
520522
result: "already_used",
521523
usageFailsAfterClaim: true,

0 commit comments

Comments
 (0)