Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ adPageView.spec.ts
File
adPageView.spec.ts
packages/shared/src/features/monetization/adPageView.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ getAdPageViewId } from
'./adPageView'
;
2
3
const
setHistoryKey = (key?: string) =>
4
window.history.replaceState(key ? { key } : null,
''
);
Callers
nothing calls this directly
Calls
2
getAdPageViewId
Function · 0.90
setHistoryKey
Function · 0.85
Tested by
no test coverage detected