diff options
| author | Mohammad Sulaiman <mohammad.sulaiman@exalt.ps> | 2024-09-25 21:46:18 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-25 18:46:18 +0000 |
| commit | c232ecc6af5a09a8f0480e3b2b87ef2cd2b3a348 (patch) | |
| tree | 49874a35cc2d27d90d0ec26423e8bfe040385683 /tests/specs/npm_tests/node_modules_deno_node_modules | |
| parent | 8cdb309ffd6686b2f3c4a2126d927fd5770be34d (diff) | |
chore: deprecate npm itests (#25804)
Diffstat (limited to 'tests/specs/npm_tests/node_modules_deno_node_modules')
3 files changed, 18 insertions, 0 deletions
diff --git a/tests/specs/npm_tests/node_modules_deno_node_modules/__test__.jsonc b/tests/specs/npm_tests/node_modules_deno_node_modules/__test__.jsonc new file mode 100644 index 000000000..377fd05ea --- /dev/null +++ b/tests/specs/npm_tests/node_modules_deno_node_modules/__test__.jsonc @@ -0,0 +1,9 @@ +{ + "args": "run --quiet node_modules_deno_node_modules/main.ts", + "output": "node_modules_deno_node_modules/main.out", + "exitCode": 0, + "envs": { + "NO_COLOR": "1", + "NPM_CONFIG_REGISTRY": "http://localhost:4260/" + } +} diff --git a/tests/specs/npm_tests/node_modules_deno_node_modules/node_modules_deno_node_modules/main.out b/tests/specs/npm_tests/node_modules_deno_node_modules/node_modules_deno_node_modules/main.out new file mode 100644 index 000000000..1ebdb2dd5 --- /dev/null +++ b/tests/specs/npm_tests/node_modules_deno_node_modules/node_modules_deno_node_modules/main.out @@ -0,0 +1,2 @@ +esm +esm diff --git a/tests/specs/npm_tests/node_modules_deno_node_modules/node_modules_deno_node_modules/main.ts b/tests/specs/npm_tests/node_modules_deno_node_modules/node_modules_deno_node_modules/main.ts new file mode 100644 index 000000000..6e4a32d8e --- /dev/null +++ b/tests/specs/npm_tests/node_modules_deno_node_modules/node_modules_deno_node_modules/main.ts @@ -0,0 +1,7 @@ +import { getKind as getKind1 } from "npm:@denotest/dual-cjs-esm-dep"; +// this should still be able to be resolved even though it's missing the +// "@denotest/dual-cjs-esm" package because the above import will resolve it +import { getKind as getKind2 } from "npm:@denotest/dual-cjs-esm-dep-missing"; + +console.log(getKind1()); +console.log(getKind2()); |
