Skip to content

test: add coverage for vm's breakOnSigint option

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/vm into master

The breakOnSigint option follows different code paths, depending on the number of listeners for SIGINT. This commit updates the existing test to vary the number of SIGINT handlers.

This should get code coverage on lib/vm.js to 100%.

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

test

Merge request reports

Loading