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

LibJS: Add @@toStringTag to Promise.prototype

This commit is contained in:
Linus Groh 2021-06-08 19:11:53 +01:00
parent ed64a69fb2
commit b377777208
2 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1,3 @@
test("basic functionality", () => {
expect(Promise.prototype[Symbol.toStringTag]).toBe("Promise");
});