1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 21:35:06 +00:00

LibJS: Add String Iterator tests

This commit is contained in:
Matthew Olsson 2020-07-12 12:51:12 -07:00 committed by Andreas Kling
parent c831fb17bf
commit 4c3a415dc3
2 changed files with 49 additions and 1 deletions

View file

@ -1,5 +1,5 @@
test("length", () => {
expect(Array.prototype[Symbol.iterator].length).toBe(0);
expect(Array.prototype[Symbol.iterator]).toHaveLength(0);
});
test("@@toStringTag", () => {