Skip to content

Commit 62b6643

Browse files
committed
test(provider-muse): allow native filesystem regression mocks
1 parent 0f3160c commit 62b6643

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @effect-diagnostics-next-line nodeBuiltinImport:off -- Mock native realpath to exercise macOS case correction on every platform.
12
import * as NodeFSP from "node:fs/promises";
23
import { vi } from "vite-plus/test";
34
import { assert, describe, it } from "@effect/vitest";

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @effect-diagnostics-next-line nodeBuiltinImport:off -- Mock native realpath to exercise macOS case correction on every platform.
12
import * as NodeFSP from "node:fs/promises";
23
// @effect-diagnostics-next-line nodeBuiltinImport:off -- The Muse SDK spawns with Node's child_process, so the launch test quotes arguments the same way.
34
import * as NodeChildProcess from "node:child_process";

0 commit comments

Comments
 (0)