In Jest 24.x this presents as "Cannot read property 'next' of undefined"
In Jest 25.x & Jest 26.x this presents as "TypeError: Result of the Symbol.iterator method is not an object"
This patch works for all 3 versions.
I've also checked it works with PR #33 (and is still needed even if that gets merged).
@marchaos Thanks for all your work on this. Really neat package :partying_face:
Fixes: #9 & #28
In Jest 24.x this presents as "Cannot read property 'next' of undefined" In Jest 25.x & Jest 26.x this presents as "TypeError: Result of the Symbol.iterator method is not an object" This patch works for all 3 versions.
I've also checked it works with PR #33 (and is still needed even if that gets merged).
@marchaos Thanks for all your work on this. Really neat package :partying_face: