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

Function flush

packages/shared/src/features/monetization/useAdQuery.spec.tsx:64–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 );
63
64const flush = () =>
65 new Promise((resolve) => {
66 setTimeout(resolve, 50);
67 });
68
69it('keeps a persistent ad when the page view changes', async () => {
70 jest.mocked(useAdPageViewId).mockReturnValue('page-view-1');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected