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:
parent
c831fb17bf
commit
4c3a415dc3
2 changed files with 49 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
test("length", () => {
|
||||
expect(Array.prototype[Symbol.iterator].length).toBe(0);
|
||||
expect(Array.prototype[Symbol.iterator]).toHaveLength(0);
|
||||
});
|
||||
|
||||
test("@@toStringTag", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue