Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Apr 15, 2021
1 parent 7f8902f commit ac25aca
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1,6 +1,6 @@
var o = {};

expect(() => [...undefined]).toThrow(/spread non-iterable/);
expect(() => [...undefined]).toThrow(/undefined is not iterable/);

expect(() => [...o]).toThrow(/spread non-iterable/);

Expand Down

0 comments on commit ac25aca

Please sign in to comment.