Skip to content

test: http[s] deprecated-URL coverage

The else code path was not covered by tests. Adding coverage and ensuring a single warning is emitted.

Splitting the http and https cases into separate test units to ensure that the process.on('warning') is only called a single time.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading