MCPcopy Index your code
hub / github.com/nodejs/node / test-esm-package-map-errors.mjs

File test-esm-package-map-errors.mjs

test/es-module/test-esm-package-map-errors.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Test package map error handling: invalid JSON, missing fields, bad URLs, duplicates.
2import '../common/index.mjs';
3import assert from 'node:assert';
4import { spawnSyncAndAssert, spawnSyncAndExit } from '../common/child_process.js';

Callers

nothing calls this directly

Calls 7

spawnSyncAndExitFunction · 0.90
spawnSyncAndAssertFunction · 0.90
writeFileSyncFunction · 0.85
pathToFileURLFunction · 0.50
refreshMethod · 0.45
pathMethod · 0.45
resolveMethod · 0.45

Tested by

no test coverage detected