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 9, 2021
1 parent fee554a commit b76c3ec
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 b76c3ec

Please sign in to comment.