Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dethcrypto/dethcode
/ givenUrl
Function
givenUrl
packages/vscode-host/src/test/test-utils.ts:3–7 ·
view source on GitHub ↗
(url: string)
Source
from the content-addressed store, hash-verified
1
import
{ JSDOM } from
"jsdom"
;
2
3
export
function
givenUrl(url: string) {
4
const
{ window } =
new
JSDOM(
""
, { url });
5
6
globalThis.window = window as any;
7
}
Callers
1
ethViewerCommands.test.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected