Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
52
const flush = () =>
53
new Promise((resolve) => {
54
setTimeout(resolve, 50);
55
});
56
57
it(
'keeps a persistent ad when the page view changes'
, async () => {
58
jest.mocked(useAdPageViewId).mockReturnValue(
'page-view-1'
);
Callers
1
useAdQuery.spec.tsx
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected