The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 22:15 UTC
test(server): keep the Claude probe fixture executable in CommonJS homes (#32860)
Maxwell Young committed
Nov 12, 2026 at 12:09 UTC
5216576aedad1be38ad9e150ac7b7d6a9714da2c
1 file changed
+5
-1
apps/server/src/provider/ProviderInstanceRegistry.test.ts
+5
-1
@@ -125,8 +125,12 @@ const makeTildeProviderFixtures = Effect.fn(
125
directory: homePath,
126
prefix: ".t3-provider-path-test-",
127
});
128
+ yield* fileSystem.writeFileString(
129
+ path.join(fixtureDir, "package.json"),
130
+ JSON.stringify({ type: "commonjs" }),
131
+ );
132
const codexPath = path.join(fixtureDir, "codex");
129
- const claudePath = path.join(fixtureDir, "claude");
133
+ const claudePath = path.join(fixtureDir, "claude.mjs");
134
const claudeHomePath = path.join(fixtureDir, "claude-home");
135
const codexScriptPath = path.join(fixtureDir, "codex-script.json");
136
const codexFixtureDir = path.join(import.meta.dirname, "testFixtures");