fix(rest-spread): Do not require Symbol.iterator for strings (#9794)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
expect([...'']).toHaveLength(0);
|
||||
expect([...'abc']).toHaveLength(3);
|
||||
expect([...'def']).toMatchObject(['d','e','f']);
|
||||
Reference in New Issue
Block a user