diff --git a/common/stringify.js b/common/stringify.js index aece384d3..192a4847a 100644 --- a/common/stringify.js +++ b/common/stringify.js @@ -14,8 +14,6 @@ var stringify = function stringify (obj, depth) { } switch (typeof obj) { - case 'symbol': - return obj.toString() case 'string': return "'" + obj + "'" case 'undefined': diff --git a/test/client/stringify.spec.js b/test/client/stringify.spec.js index 19bceab4e..e51c85d37 100644 --- a/test/client/stringify.spec.js +++ b/test/client/stringify.spec.js @@ -4,10 +4,6 @@ var assert = require('assert') var stringify = require('../../common/stringify') describe('stringify', function () { - it('should serialize symbols', function () { - assert.deepEqual(stringify(Symbol.for('x')), 'Symbol(x)') - }) - it('should serialize string', function () { assert.deepEqual(stringify('aaa'), "'aaa'") })