mirror of https://github.com/nodejs/node.git
9be0057859
PR-URL: https://github.com/nodejs/node/pull/55038 Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> |
||
---|---|---|
.. | ||
README.md | ||
a.test.mjs | ||
a.test.mjs.map | ||
a.test.ts | ||
b.test.ts | ||
index.test.js | ||
stdin.test.js | ||
stdin.test.js.map |
README.md
The files in the directory are generated by the following commands:
npx esbuild a.test.ts --sourcemap --outdir=. --out-extension:.js=.mjs --sources-content=false --minify --bundle --platform=node --format=esm
echo "import { test } from 'node:test';
test('ok', () => {});
function uncovered() {
return 'uncovered';
}
" | npx esbuild --sourcemap --sourcefile=stdin.test.ts --sources-content=true --bundle --platform=node --outfile="stdin.test.js"