diff --git a/test/parallel/test-whatwg-url-parsing.js b/test/parallel/test-whatwg-url-parsing.js index 568bc82175..40ada010c1 100644 --- a/test/parallel/test-whatwg-url-parsing.js +++ b/test/parallel/test-whatwg-url-parsing.js @@ -1,6 +1,13 @@ 'use strict'; const common = require('../common'); + +if (!common.hasIntl) { + // A handful of the tests fail when ICU is not included. + common.skip('missing Intl... skipping test'); + return; +} + const URL = require('url').URL; const path = require('path'); const assert = require('assert'); diff --git a/test/parallel/test-whatwg-url-setters.js b/test/parallel/test-whatwg-url-setters.js index 4c29ef098c..3b2aca2afd 100644 --- a/test/parallel/test-whatwg-url-setters.js +++ b/test/parallel/test-whatwg-url-setters.js @@ -1,6 +1,13 @@ 'use strict'; const common = require('../common'); + +if (!common.hasIntl) { + // A handful of the tests fail when ICU is not included. + common.skip('missing Intl... skipping test'); + return; +} + const path = require('path'); const URL = require('url').URL; const assert = require('assert');