Is there a way in jest to match output of a generator?
Like this:
function f() { yield 1 yield 2 yield 3 } it