[FIX] web: overspecified test

Testing what's literally just a native feature seems odd, but in this
case it's also way over-specified: Firefox's error message for the
conversion of a symbol to a number is

    can't convert symbol to number
This commit is contained in:
Xavier Morel
2021-04-20 14:10:31 +00:00
parent 11b85c7c13
commit fe8204a48d
+1 -1
View File
@@ -231,7 +231,7 @@ QUnit.module('core', {}, function () {
);
assert.throws(
() => sortBy([Symbol('b'), Symbol('a')]),
new TypeError(`Cannot convert a Symbol value to a number`)
TypeError
);
assert.throws(
() => sortBy(ints, true),