mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
.. | ||
cached_only | ||
cached_only_after_first_run | ||
cjs_local_global_decls | ||
cjs_sub_path | ||
cjs_with_deps | ||
dynamic_import | ||
esm | ||
import_map | ||
no_unstable | ||
registry | ||
sub_paths | ||
deno_run_cowsay.out | ||
deno_run_cowthink.out | ||
deno_run_esm.out | ||
deno_run_non_existent.out | ||
README.md |
npm test data
This folder contains test data for npm specifiers.
Registry
The registry is served by the test server (server in test_util) at
http://localhost:4545/npm/registry/ via the ./registry
folder.
Updating with real npm packages
- Set the
DENO_TEST_UTIL_UPDATE_NPM=1
environment variable - Run the test and it should download the packages.
Using a custom npm package
- Add the custom package to
./registry/@denotest
- Reference
npm:@denotest/<your-package-name>
in the tests.