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:64–67 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
62
);
63
64
const flush = () =>
65
new Promise((resolve) => {
66
setTimeout(resolve, 50);
67
});
68
69
it(
'keeps a persistent ad when the page view changes'
, async () => {
70
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