it('should reject if "close" is sent', async () => {
    const fn = await syncify(async () => {
      const p = new Engine('').init()
      cpMock.emit('close', new Error('test'))
      await p