summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/parallel/test-icu-transcode.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/parallel/test-icu-transcode.js b/test/parallel/test-icu-transcode.js
index 783bc00699..43cc90e1c1 100644
--- a/test/parallel/test-icu-transcode.js
+++ b/test/parallel/test-icu-transcode.js
@@ -1,9 +1,14 @@
'use strict';
-require('../common');
+const common = require('../common');
const buffer = require('buffer');
const assert = require('assert');
+if (!common.hasIntl) {
+ common.skip('icu punycode tests because ICU is not present.');
+ return;
+}
+
const orig = Buffer.from('tést €', 'utf8');
// Test Transcoding