MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / create_context.test.ts

File create_context.test.ts

src/app/service/content/create_context.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, describe, it, expect, vi } from "vitest";
2import type { TScriptInfo } from "@App/app/repo/scripts";
3import { encodeRValue } from "@App/pkg/utils/message_value";
4import { createContext, createProxyContext, shouldFnBind } from "./create_context";

Callers

nothing calls this directly

Calls 15

shouldFnBindFunction · 0.90
createProxyContextFunction · 0.90
createContextFunction · 0.90
encodeRValueFunction · 0.90
createTestContextFunction · 0.85
setTimeoutForTest1Function · 0.85
logMethod · 0.80
GM_getValueMethod · 0.80
CAT_scriptLoadedMethod · 0.80
fnMethod · 0.80
setInvalidContextMethod · 0.80

Tested by

no test coverage detected