MCPcopy Create free account
hub / github.com/Kong/insomnia / quickjs-script-engine.test.ts

File quickjs-script-engine.test.ts

packages/insomnia/src/scripting/quickjs-script-engine.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, describe, expect, it, vi } from 'vitest';
2
3import type { RequestContext } from '../../../insomnia-scripting-environment/src/objects/interfaces';
4import { getQuickJSModule } from '../templating/sandbox/quickjs-runtime';

Callers

nothing calls this directly

Calls 12

runScriptInQuickJsFunction · 0.90
getQuickJSModuleFunction · 0.90
stubFetchOnceFunction · 0.85
stubSlowFetchFunction · 0.85
filterMethod · 0.80
stringifyMethod · 0.80
baseContextFunction · 0.70
resolveFunction · 0.50
hasMethod · 0.45
parseMethod · 0.45
resolveMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected