From 4a5ac413cc128a8b98389f115781520de11fa2a4 Mon Sep 17 00:00:00 2001 From: Scott Kyle Date: Wed, 4 May 2016 02:15:17 -0700 Subject: [PATCH] Skip test in Node v6 due to v8 regression --- tests/js/list-tests.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/js/list-tests.js b/tests/js/list-tests.js index cb316b31..2215bac8 100644 --- a/tests/js/list-tests.js +++ b/tests/js/list-tests.js @@ -554,7 +554,11 @@ module.exports = BaseTest.extend({ TestCase.assertEqual(list.slice(1, 3).length, 2); TestCase.assertEqual(list.slice(1, 3)[1].age, 12); - TestCase.assertEqual(list.join(' '), 'Ari Tim Bjarne'); + // A Node 6 regression in v8 causes an error when converting our objects to strings: + // TypeError: Cannot convert a Symbol value to a string + if (typeof process != 'object' || ('' + process.version).indexOf('v6.') < 0) { + TestCase.assertEqual(list.join(' '), 'Ari Tim Bjarne'); + } var count = 0; list.forEach(function(p, i) {