MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / addTestPermission

Function addTestPermission

tests/utils.ts:35–37  ·  view source on GitHub ↗
(uuid: string)

Source from the content-addressed store, hash-verified

33
34const noConfirmScripts = new Set<string>();
35export const addTestPermission = (uuid: string) => {
36 noConfirmScripts.add(uuid);
37};
38
39export function initTestGMApi(): Message {
40 const wsEE = new EventEmitter<string, any>();

Callers 1

gm_api.test.tsFile · 0.90

Calls 1

addMethod · 0.80

Tested by

no test coverage detected