MCPcopy Create free account
hub / github.com/observablehq/framework / imports-test.ts

File imports-test.ts

test/javascript/imports-test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import assert from "node:assert";
2import type {Program} from "acorn";
3import {Parser} from "acorn";
4import {findExports, findImports, hasImportDeclaration} from "../../src/javascript/imports.js";

Callers

nothing calls this directly

Calls 4

findExportsFunction · 0.85
findImportsFunction · 0.85
hasImportDeclarationFunction · 0.85
parseFunction · 0.70

Tested by

no test coverage detected