Skip to content

Commit e94753a

Browse files
committed
test(server): resource monitor test provides one filesystem for the lookup only
Signed-off-by: Yordis Prieto <[email protected]>
1 parent 9785043 commit e94753a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎apps/server/src/resourceTelemetry/ResourceMonitorBinary.test.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ describe("ResourceMonitorBinary", () => {
9898
});
9999
const service = yield* ResourceMonitorBinary.make().pipe(
100100
// Isolates the lookup from binaries a local cargo build left at the candidate paths.
101-
Effect.provide(FileSystem.layerNoop({ exists: () => Effect.succeed(false) })),
101+
Effect.provideService(
102+
FileSystem.FileSystem,
103+
FileSystem.makeNoop({ exists: () => Effect.succeed(false) }),
104+
),
102105
Effect.provide(ServerConfig.layerTest(process.cwd(), baseDir)),
103106
Effect.provideService(HostProcess.Platform, "darwin"),
104107
Effect.provideService(HostProcess.Architecture, "arm64"),

0 commit comments

Comments
 (0)