Skip to content

test: refactor `test-esm-loader-hooks` for easier debugging

Rodrigo Muino Tomonari requested to merge github/fork/aduh95/test-esm-hooks into main
  • Always check stderr before stdout as the former would contain error information.
  • Always match the full stdout to avoid surprises.
  • Use deepStrictEqual when appropriate to get more informative test failures.
  • Remove leading slashes from relative paths/URLs to not confuse them with absolute paths.
  • Remove unnecessary --no-warnings flag.

Merge request reports

Loading