(url: string)
| 10 | } |
| 11 | |
| 12 | function createHeadersWithNextLink(url: string) { |
| 13 | return new Headers({ |
| 14 | Link: `<${url}>; rel="next"`, |
| 15 | }) |
| 16 | } |
| 17 | |
| 18 | function assertNext(current: IPageInfo, expected: IPageInfo) { |
| 19 | const headers = createHeadersWithNextLink( |
no outgoing calls
no test coverage detected