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

Function flush

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

Source from the content-addressed store, hash-verified

50 );
51
52const flush = () =>
53 new Promise((resolve) => {
54 setTimeout(resolve, 50);
55 });
56
57it('keeps a persistent ad when the page view changes', async () => {
58 jest.mocked(useAdPageViewId).mockReturnValue('page-view-1');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected