MCPcopy
hub / github.com/sindresorhus/ky / addKyScriptToPage

Function addKyScriptToPage

test/browser.ts:41–44  ·  view source on GitHub ↗
(page: Page)

Source from the content-addressed store, hash-verified

39 `,
40};
41const addKyScriptToPage = async (page: Page) => {
42 await page.addScriptTag(KY_SCRIPT);
43 await page.waitForFunction(() => typeof globalThis.ky === 'function');
44};
45
46let server: ExtendedHttpTestServer;
47test.beforeEach(async () => {

Callers 1

browser.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…