Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    it('fails', async () => {
      expect(await somePromise()).toBe(undefined)
      expect(await someOtherPromise()).toBeDefined()
    })
No chance figuring out where it failed, it's likely just gonna run into a test suite timeout with no line reference or anything.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: