MCPcopy 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

1import { JSDOM } from "jsdom";
2
3export function givenUrl(url: string) {
4 const { window } = new JSDOM("", { url });
5
6 globalThis.window = window as any;
7}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected