diff --git a/test/parallel/test-config-json-schema.js b/test/parallel/test-config-json-schema.js index ef05181b50b3..0d9cdb845556 100644 --- a/test/parallel/test-config-json-schema.js +++ b/test/parallel/test-config-json-schema.js @@ -31,7 +31,8 @@ if (!common.hasFFI) { // The JSON schema is generated from a build with the default configuration // options, where these are disabled and their options are not available. -if (common.hasQuic || common.hasDtls || common.hasV8Sandbox) { +if (process.config.variables.node_use_quic || + process.config.variables.node_use_dtls || common.hasV8Sandbox) { common.skip('this test assumes default configuration options'); }