MCPcopy Create free account
hub / github.com/Houseofmvps/codesight / loadModules

Function loadModules

tests/native-ast.test.ts:8–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7// All modules imported from built dist (matches the suite's convention).
8async function loadModules() {
9 const { loadConfig, mergeCliConfig, safeParseConfigText } = await import("../dist/config.js");
10 const { resolveNativeAst, nativeEnabledFor, isStrict, reportNativeDiagnostics } =
11 await import("../dist/ast/native-loader.js");
12 const { setNativePluginProvider, resetNativePluginProvider } =
13 await import("../dist/wasm/plugin-host.js");
14 const { collectFiles, detectProject } = await import("../dist/scanner.js");
15 const { detectRoutes } = await import("../dist/detectors/routes.js");
16 const { detectNative } = await import("../dist/detectors/native.js");
17 return {
18 loadConfig, mergeCliConfig, safeParseConfigText,
19 resolveNativeAst, nativeEnabledFor, isStrict, reportNativeDiagnostics,
20 setNativePluginProvider, resetNativePluginProvider,
21 collectFiles, detectProject, detectRoutes, detectNative,
22 };
23}
24
25const FASTAPI_FIXTURE = `
26from fastapi import FastAPI, APIRouter

Callers 1

native-ast.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected