Skip to content

test: move require('http2') after crypto check

This test currently fails when configured --without-ssl:

Error [ERR_NO_CRYPTO]: Node.js is not compiled with OpenSSL crypto support

This commit moves the require of http2 to come after the crypto check to avoid the error.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading