1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 10:07:54 -05:00
denoland-deno/tests/testdata/npm
2024-09-26 15:57:12 -04:00
..
binary_package chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
cached_only chore: fix flaky net_listen_allow_localhost_4555 (#23726) 2024-05-07 17:21:56 +00:00
cached_only_after_first_run chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
cjs_with_deps fix(info): move "version" field to top of json output (#25890) 2024-09-26 15:57:12 -04:00
different_nested_dep chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
dual_cjs_esm chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
dynamic_import chore: fix flaky net_listen_allow_localhost_4555 (#23726) 2024-05-07 17:21:56 +00:00
dynamic_import_json chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
exec_file fix(ext/node): improve shelljs compat with managed npm execution (#24912) 2024-08-16 12:48:48 +09:00
no_npm_after_first_run chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
peer_deps_with_copied_folders fix(info): move "version" field to top of json output (#25890) 2024-09-26 15:57:12 -04:00
reload chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
require_resolve_url chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
run_existing_npm_package chore: fix flaky net_listen_allow_localhost_4555 (#23726) 2024-05-07 17:21:56 +00:00
deno_run_cjs.out chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
deno_run_cowsay.out chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
deno_run_cowsay_no_permissions.out feat(cli): use NotCapable error for permission errors (#25431) 2024-09-10 11:12:24 -07:00
deno_run_cowthink.out chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
deno_run_esm.out chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
README.md chore: fix flaky net_listen_allow_localhost_4555 (#23726) 2024-05-07 17:21:56 +00:00

npm test data

This folder contains test data for npm specifiers.

Registry

The registry is served by the test server (server in tests/util/server) at http://localhost:4260/ via the ./registry folder.

Updating with real npm packages

  1. Set the DENO_TEST_UTIL_UPDATE_NPM=1 environment variable
  2. Run the test and it should download the packages.

Using a custom npm package

  1. Add the custom package to ./registry/@denotest
  2. Reference npm:@denotest/<your-package-name> in the tests.