test: skip `test-config-json-schema` with quic

`parallel/test-config-json-schema` compares to a generated fixture that
assumes that Node.js was built with default configuration settings.

Skip the test if non-default quic is enabled (`configure --with-quic`).

Refs: https://github.com/nodejs/node/pull/57016
Refs: https://github.com/nodejs/node/pull/57142
PR-URL: https://github.com/nodejs/node/pull/57225
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
This commit is contained in:
Richard Lau 2025-02-27 17:42:48 +00:00 committed by Michaël Zasso
parent 274c18a365
commit 28792ee59a
No known key found for this signature in database
GPG Key ID: 770F7A9A5AE15600
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,10 @@ if (!common.hasIntl) {
common.skip('missing Intl');
}
if (process.config.variables.node_quic) {
common.skip('this test assumes default configuration options');
}
const {
generateConfigJsonSchema,
} = require('internal/options');