1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:17:44 +00:00

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

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]);