setup-node/__tests__
2023-01-30 14:41:29 +08:00
..
data Support .node-version and .nvmrc by default; closes #683 2023-01-30 14:41:29 +08:00
authutil.test.ts Add unit tests 2022-12-05 13:36:23 +01:00
cache-restore.test.ts Add 'cache-hit' as output 2021-09-23 13:17:32 +00:00
cache-save.test.ts Format cache-save.test.ts 2022-06-27 10:19:35 +02:00
cache-utils.test.ts replace throw with warn 2022-12-12 10:21:16 +01:00
canary-installer.test.ts Add support for v8-canary, nightly and rc (#655) 2023-01-05 13:16:21 +01:00
main.test.ts Support .node-version and .nvmrc by default; closes #683 2023-01-30 14:41:29 +08:00
nightly-installer.test.ts Add support for v8-canary, nightly and rc (#655) 2023-01-05 13:16:21 +01:00
official-installer.test.ts Add support for v8-canary, nightly and rc (#655) 2023-01-05 13:16:21 +01:00
problem-matcher.test.ts Fix TypeScript error line/column (#125) 2021-02-17 10:52:41 -05:00
rc-installer.test.ts Add support for v8-canary, nightly and rc (#655) 2023-01-05 13:16:21 +01:00
README.md Add support for nightly and rc versions (#611) 2022-11-17 14:35:58 +01:00
verify-arch.sh Add e2e arch test 2020-12-09 13:28:47 -06:00
verify-node.sh Update tool-cache for download retries (#120) 2020-03-10 11:51:57 -04:00

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