it('is then done', () => {
      const next = generator.next()
      expect(next.value).not.toBeDefined()
      expect(next.done).toBe(true)
    })