MCPcopy Create free account
hub / github.com/dailydotdev/apps / getRequestedFv

Function getRequestedFv

packages/shared/src/lib/boot.spec.ts:22–23  ·  view source on GitHub ↗
(fetchMock: jest.Mock, call = 0)

Source from the content-addressed store, hash-verified

20};
21
22const getRequestedFv = (fetchMock: jest.Mock, call = 0) =>
23 new URL(fetchMock.mock.calls[call][0]).searchParams.get('fv');
24
25describe('getBootData', () => {
26 const originalFetch = global.fetch;

Callers 1

boot.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected