mirror of
https://github.com/denoland/deno.git
synced 2025-12-23 08:48:24 +00:00
Fixes https://github.com/denoland/deno/pull/28168#discussion_r1982740706 --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
626 B
626 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:4260/ via the ./registry folder.
Updating with real npm packages
- Set the
DENO_TEST_UTIL_UPDATE_NPM=1environment variable - Run the test and it should download the packages.
- If the package does not update, find it in
tests/registry/npm/and download relatedregistry.jsonfile.
Using a custom npm package
- Add the custom package to
./registry/@denotest - Reference
npm:@denotest/<your-package-name>in the tests.