Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZenNotes/zennotes
/ getOptionalWindow
Function
getOptionalWindow
packages/app-core/src/lib/code-block-copy.test.ts:13–13 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
type
TestWindow = Omit<Window,
'zen'
> & { zen?: Window[
'zen'
] }
12
13
const
getOptionalWindow = (): TestWindow => window as unknown as TestWindow
14
15
afterEach(() => {
16
vi.useRealTimers()
Callers
1
code-block-copy.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected