setup-node/__tests__
2024-03-13 21:15:09 +01:00
..
data Add support for volta.extends (#921) 2023-12-29 15:01:21 +05:30
mock
authutil.test.ts
cache-restore.test.ts Cache fallback with rolling time based expiration 2024-03-13 21:15:09 +01:00
cache-save.test.ts change getinput to getstate for cache (#816) 2023-08-10 16:32:24 +02:00
cache-utils.test.ts resolve SymbolicLink (#809) 2023-07-13 14:06:23 +02:00
canary-installer.test.ts
main.test.ts Add support for arm64 Windows (#927) 2024-02-06 22:42:16 -06:00
nightly-installer.test.ts resolve SymbolicLink (#809) 2023-07-13 14:06:23 +02:00
official-installer.test.ts Add support for arm64 Windows (#927) 2024-02-06 22:42:16 -06:00
prepare-yarn-subprojects.sh
problem-matcher.test.ts
rc-installer.test.ts
README.md
verify-arch.sh
verify-node.sh

Files located in data directory are used only for testing purposes.

Here the list of files in the data directory

  • .nvmrc, .tools-versions and package.json are used to test node-version-file logic
  • package-lock.json, pnpm-lock.yaml and yarn.lock are used to test cache logic
  • versions-manifest.json is used for unit testing to check downloading Node.js versions from the node-versions repository.
  • node-dist-index.json is used for unit testing to check downloading Node.js versions from the official site. The file was constructed from https://nodejs.org/dist/index.json
  • node-rc-index.json is used for unit testing to check downloading Node.js rc versions from the official site. The file was constructed from https://nodejs.org/download/rc/index.json
  • node-nightly-index.json is used for unit testing to check downloading Node.js nightly builds from the official site. The file was constructed from https://nodejs.org/download/nightly/index.json