MCPcopy Create free account
hub / github.com/Effect-TS/effect / runPromise

Function runPromise

packages/platform-node-shared/test/CommandExecutor.test.ts:30–32  ·  view source on GitHub ↗
(
  self: Effect.Effect<A, E, CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path>
)

Source from the content-addressed store, hash-verified

28)
29
30const runPromise = <E, A>(
31 self: Effect.Effect<A, E, CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path>
32) => Effect.runPromise(Effect.provide(self, TestLive))
33
34describe("Command", () => {
35 it("should convert stdout to a string", () =>

Callers 1

Calls 1

provideMethod · 0.65

Tested by

no test coverage detected