MCPcopy Index your code
hub / github.com/Effect-TS/effect / expectParts

Function expectParts

packages/platform/test/OpenApi.test.ts:133–138  ·  view source on GitHub ↗
(
  api: HttpApi.HttpApi<Id, Groups, E, R>,
  parts: Parts
)

Source from the content-addressed store, hash-verified

131}
132
133const expectParts = <Id extends string, Groups extends HttpApiGroup.HttpApiGroup.Any, E, R>(
134 api: HttpApi.HttpApi<Id, Groups, E, R>,
135 parts: Parts
136) => {
137 expectSpec(api, getSpec(parts))
138}
139
140const expectSpecPaths = <Id extends string, Groups extends HttpApiGroup.HttpApiGroup.Any, E, R>(
141 api: HttpApi.HttpApi<Id, Groups, E, R>,

Callers 1

OpenApi.test.tsFile · 0.85

Calls 2

expectSpecFunction · 0.85
getSpecFunction · 0.85

Tested by

no test coverage detected