(received: unknown, expected: string)
| 15 | |
| 16 | expect.extend({ |
| 17 | urlWithQueryParams(received: unknown, expected: string) { |
| 18 | const { isNot } = this |
| 19 | return { |
| 20 | pass: compareUrls(String(received), expected), |
| 21 | message: () => `${received} is${isNot ? ' not' : ''} the same URL as ${expected}`, |
| 22 | } |
| 23 | }, |
| 24 | }) |
| 25 | |
| 26 | declare module 'vitest' { |
nothing calls this directly
no test coverage detected