MCPcopy Create free account
hub / github.com/deepnote/deepnote / urlWithQueryParams

Function urlWithQueryParams

test-helpers/expect-url-with-query-params.ts:17–23  ·  view source on GitHub ↗
(received: unknown, expected: string)

Source from the content-addressed store, hash-verified

15
16expect.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
26declare module 'vitest' {

Callers

nothing calls this directly

Calls 1

compareUrlsFunction · 0.85

Tested by

no test coverage detected