mirror of
https://github.com/denoland/deno.git
synced 2025-02-18 19:33:00 -05:00

As discussed with @mmastrac. --------- Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com> Co-authored-by: Matt Mastracci <matthew@mastracci.com>
525 B
525 B
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: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.