LibJS: Unbreak test-js test that depended on function object class name

This commit is contained in:
Andreas Kling 2021-06-27 22:51:39 +02:00
parent cd53d046b2
commit 844efde54b
Notes: sideshowbarker 2024-07-18 11:25:59 +09:00

View file

@ -15,7 +15,7 @@ test("bad argument values", () => {
[{}, "[object Object]"],
[true, "true"],
["foobar", "foobar"],
[function () {}, "[object ScriptFunction]"], // FIXME: Better function stringification
[function () {}, "[object OrdinaryFunctionObject]"], // FIXME: Better function stringification
].forEach(testCase => {
expect(() => {
Symbol.keyFor(testCase[0]);