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

File source-test.ts

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

Source from the content-addressed store, hash-verified

1import assert from "node:assert";
2import type {Expression, Node} from "acorn";
3import {Parser} from "acorn";
4import {getStringLiteralValue} from "../../src/javascript/source.js";

Callers

nothing calls this directly

Calls 5

isLiteralFunction · 0.85
parseExpressionFunction · 0.85
isTemplateLiteralFunction · 0.85
isStringLiteralFunction · 0.85
maybeStringLiteralValueFunction · 0.85

Tested by

no test coverage detected