mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-26 04:02:27 +00:00
LibJS: Add String Iterator tests
This commit is contained in:
parent
c831fb17bf
commit
4c3a415dc3
Notes:
sideshowbarker
2024-07-19 04:51:45 +09:00
Author: https://github.com/mattco98
Commit: 4c3a415dc3
Pull-request: https://github.com/SerenityOS/serenity/pull/2780
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