From f583a7ebf4f7c4ef21061fba802f80fd2d5299e7 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 26 Aug 2022 09:17:48 -0400 Subject: chore(npm): add test for esm npm binary package (#15609) --- cli/tests/testdata/npm/registry/@denotest/esm-bin/1.0.0/cli.mjs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 cli/tests/testdata/npm/registry/@denotest/esm-bin/1.0.0/cli.mjs (limited to 'cli/tests/testdata/npm/registry/@denotest/esm-bin/1.0.0/cli.mjs') diff --git a/cli/tests/testdata/npm/registry/@denotest/esm-bin/1.0.0/cli.mjs b/cli/tests/testdata/npm/registry/@denotest/esm-bin/1.0.0/cli.mjs new file mode 100644 index 000000000..0ae8e9190 --- /dev/null +++ b/cli/tests/testdata/npm/registry/@denotest/esm-bin/1.0.0/cli.mjs @@ -0,0 +1,5 @@ +import process from "node:process"; + +for (const arg of process.argv.slice(2)) { + console.log(arg); +} -- cgit v1.2.3