We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65b658a commit 538081cCopy full SHA for 538081c
1 file changed
test/client/stringify.spec.js
@@ -4,9 +4,13 @@ var assert = require('assert')
4
var stringify = require('../../common/stringify')
5
6
describe('stringify', function () {
7
- it('should serialize symbols', function () {
8
- assert.deepEqual(stringify(Symbol.for('x')), 'Symbol(x)')
9
- })
+ if (window && window.Symbol) {
+ // IE does not support Symbol
+ // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol
10
+ it('should serialize symbols', function () {
11
+ assert.deepEqual(stringify(Symbol.for('x')), 'Symbol(x)')
12
+ })
13
+ }
14
15
it('should serialize string', function () {
16
assert.deepEqual(stringify('aaa'), "'aaa'")
0 commit comments