Skip to content

Commit 6d76389

Browse files
GLDRogerclaude
andcommitted
test(provider-muse): skip the macOS case tests on a case-sensitive volume
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent aac9fac commit 6d76389

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎packages/provider-muse/src/server/adapter.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,8 @@ describe("MuseAdapterV2", () => {
588588
const fs = yield* FileSystem.FileSystem;
589589
const path = yield* Path.Path;
590590
const created = yield* fs.makeTempDirectoryScoped({ prefix: "MuseRoot-" });
591+
// Only a case-insensitive volume resolves the miscased path; skip on a case-sensitive one.
592+
if (!(yield* fs.exists(created.toUpperCase()))) return;
591593
const fake = yield* makeFakeMuse();
592594
const policy = ProviderAdapter.ProviderAdapterV2RuntimePolicy.make({
593595
...runtimePolicy,

‎packages/provider-muse/src/server/sdk.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,8 @@ describe("Muse workspace root", () => {
448448
const fs = yield* FileSystem.FileSystem;
449449
const path = yield* Path.Path;
450450
const created = yield* fs.makeTempDirectoryScoped({ prefix: "MuseRoot-" });
451+
// Only a case-insensitive volume resolves the miscased path; skip on a case-sensitive one.
452+
if (!(yield* fs.exists(created.toUpperCase()))) return;
451453
const root = yield* museWorkspaceRoot(created.toUpperCase());
452454
expect(path.basename(root)).toBe(path.basename(created));
453455
}).pipe(Effect.scoped, Effect.provide(NodeServices.layer)),

0 commit comments

Comments
 (0)