( api: HttpApi.HttpApi<Id, Groups, E, R>, paths: ReadonlyArray<string> )
| 157 | } |
| 158 | |
| 159 | const expectPaths = <Id extends string, Groups extends HttpApiGroup.HttpApiGroup.Any, E, R>( |
| 160 | api: HttpApi.HttpApi<Id, Groups, E, R>, |
| 161 | paths: ReadonlyArray<string> |
| 162 | ) => { |
| 163 | const spec = OpenApi.fromApi(api) |
| 164 | deepStrictEqual(Object.keys(spec.paths), paths) |
| 165 | } |
| 166 | |
| 167 | describe("OpenApi", () => { |
| 168 | describe("fromApi", () => { |
no test coverage detected
searching dependent graphs…