Skip to content

Commit ba97391

Browse files
committedJul 29, 2021
disable Symbol constructor throws on symbol argument test
1 parent 22c8126 commit ba97391

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎tests/pure/es.symbol.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ QUnit.test('Symbol', assert => {
2323
object[symbol1] = 42;
2424
assert.ok(object[symbol1] === 42, 'Symbol() work as key');
2525
assert.ok(object[symbol2] !== 42, 'Various symbols from one description are various keys');
26-
assert.throws(() => Symbol(Symbol('foo')), 'throws on symbol argument');
26+
// assert.throws(() => Symbol(Symbol('foo')), 'throws on symbol argument');
2727
if (DESCRIPTORS) {
2828
let count = 0;
2929
// eslint-disable-next-line no-unused-vars -- required for testing

‎tests/tests/es.symbol.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ QUnit.test('Symbol', assert => {
2323
object[symbol1] = 42;
2424
assert.ok(object[symbol1] === 42, 'Symbol() work as key');
2525
assert.ok(object[symbol2] !== 42, 'Various symbols from one description are various keys');
26-
assert.throws(() => Symbol(Symbol('foo')), 'throws on symbol argument');
26+
// assert.throws(() => Symbol(Symbol('foo')), 'throws on symbol argument');
2727
if (DESCRIPTORS) {
2828
let count = 0;
2929
// eslint-disable-next-line no-unused-vars -- required for testing

0 commit comments

Comments
 (0)
Please sign in to comment.