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

Method succeed

packages/effect/src/testing/TestSchema.ts:213–215  ·  view source on GitHub ↗
(input: S["~type.make.in"], expected?: S["Type"])

Source from the content-addressed store, hash-verified

211 async function succeed(input: S["Type"]): Promise<void>
212 async function succeed(input: S["~type.make.in"], expected: S["Type"]): Promise<void>
213 async function succeed(input: S["~type.make.in"], expected?: S["Type"]) {
214 return Effect.runPromise(succeedEffect(input, arguments.length === 1 ? input : expected))
215 }
216 function failEffect(input: unknown, message: string): Effect.Effect<void> {
217 return assertResult(() => makeEffect(input, options), Result.fail(message))
218 }

Callers 15

extractModuleMetadataFunction · 0.45
Glob.tsFile · 0.45
runTscFunction · 0.45
makeLayerFunction · 0.45
Utils.test.tsFile · 0.45
planImplementationFunction · 0.45
groupOperationsFunction · 0.45
Release.test.tsFile · 0.45
NpmPromote.tsFile · 0.45

Calls

no outgoing calls

Tested by 15

runTscFunction · 0.36
makeLayerFunction · 0.36
makeDocgenJsonFunction · 0.36
readFileStringFunction · 0.36
existsFunction · 0.36
statFunction · 0.36
makeProcessFunction · 0.36
mockFunction · 0.36
githubFunction · 0.36
watchFunction · 0.36
execSqlMethod · 0.36
runFunction · 0.36