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

File node-test.ts

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

Source from the content-addressed store, hash-verified

1import assert from "node:assert";
2import {rm} from "node:fs/promises";
3import {join} from "node:path/posix";
4import {extractNodeSpecifier, isNodeBuiltin, resolveNodeImport, resolveNodeImports} from "../src/node.js";

Callers

nothing calls this directly

Calls 4

isNodeBuiltinFunction · 0.85
resolveNodeImportFunction · 0.85
resolveNodeImportsFunction · 0.85
extractNodeSpecifierFunction · 0.85

Tested by

no test coverage detected