MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / gm_api.test.ts

File gm_api.test.ts

tests/runtime/gm_api.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { type Script, ScriptDAO, type ScriptRunResource } from "@App/app/repo/scripts";
2import GMApi from "@App/app/service/content/gm_api/gm_api";
3import { randomUUID } from "crypto";
4import { afterAll, beforeAll, describe, expect, it, vi, vitest } from "vitest";

Callers

nothing calls this directly

Calls 14

mockNetworkFunction · 0.90
initTestGMApiFunction · 0.90
addTestPermissionFunction · 0.90
setMockNetworkResponseFunction · 0.90
fnMethod · 0.80
logMethod · 0.80
saveMethod · 0.65
getMethod · 0.65
setMethod · 0.65
deleteMethod · 0.65
onloadFunction · 0.50
GM_xmlhttpRequestMethod · 0.45

Tested by

no test coverage detected