diff --git a/test/inspector/inspector.status b/test/inspector/inspector.status index b3175eb0fb9..38f1a6c3ccb 100644 --- a/test/inspector/inspector.status +++ b/test/inspector/inspector.status @@ -11,4 +11,5 @@ prefix inspector [$jsEngine==chakracore] test-inspector : SKIP test-inspector-stops-no-file : SKIP -test-not-blocked-on-idle : SKIP \ No newline at end of file +test-not-blocked-on-idle : SKIP +test-inspector-ip-detection : SKIP \ No newline at end of file diff --git a/test/parallel/parallel.status b/test/parallel/parallel.status index 772a691278e..254748da64a 100644 --- a/test/parallel/parallel.status +++ b/test/parallel/parallel.status @@ -78,6 +78,7 @@ test-whatwg-url-origin-for : SKIP test-assert-checktag : SKIP test-process-env-symbols : SKIP test-util-format : SKIP +test-module-loading-globalpaths : SKIP [$jsEngine==chakracore && $arch==x64] test-buffer-includes : SKIP diff --git a/test/parallel/test-util-format.js b/test/parallel/test-util-format.js index a57a8094ac0..e64eb1b25cd 100644 --- a/test/parallel/test-util-format.js +++ b/test/parallel/test-util-format.js @@ -20,7 +20,7 @@ // USE OR OTHER DEALINGS IN THE SOFTWARE. 'use strict'; -require('../common'); +const common = require('../common'); const assert = require('assert'); const util = require('util'); const symbol = Symbol('foo'); @@ -83,7 +83,18 @@ assert.strictEqual(util.format('o: %j, a: %j'), 'o: %j, a: %j'); { const o = {}; o.o = o; - assert.strictEqual(util.format('%j', o), '[Circular]'); + if (!common.isChakraEngine) { + assert.strictEqual(util.format('%j', o), '[Circular]'); + } else { + assert.throws(() => { util.format('%j', o); }, function(err) { + if (err instanceof TypeError && + err.message === 'Circular reference in value argument not ' + + 'supported') { + return true; + } + return false; + }); + } } {