tasq/node_modules/import-in-the-middle/test
2026-04-09 19:01:53 +08:00
..
check-exports added ruflo 2026-04-09 19:01:53 +08:00
fixtures added ruflo 2026-04-09 19:01:53 +08:00
get-esm-exports added ruflo 2026-04-09 19:01:53 +08:00
hook added ruflo 2026-04-09 19:01:53 +08:00
low-level added ruflo 2026-04-09 19:01:53 +08:00
multiple-loaders added ruflo 2026-04-09 19:01:53 +08:00
other added ruflo 2026-04-09 19:01:53 +08:00
register added ruflo 2026-04-09 19:01:53 +08:00
typescript added ruflo 2026-04-09 19:01:53 +08:00
generic-loader.mjs added ruflo 2026-04-09 19:01:53 +08:00
README.md added ruflo 2026-04-09 19:01:53 +08:00
version-check.js added ruflo 2026-04-09 19:01:53 +08:00

These tests are organized as follows:

  • Located in the hook directory if they use the Hook class.
  • Located in the low-level directory if they use the "low-level" API, addHook and removeHook.
  • Other tests are in other adjacent directories.

The tests can be run individually as Node.js programs with non-zero exit codes upon failures. They should be run with the following Node.js command-line options (assuming they're run from the project root):

--require ./test/version-check.js
--experimental-loader ./test/generic-loader.mjs

The entire test suite can be run with npm test.