• Mark Florian's avatar
    Document async test best practices · f4f2a909
    Mark Florian authored
    - Discourage done/done.fail callbacks in favour of async/await or
      promise chains
    - Encourage expect(promise).rejects.toThrow() pattern for expected
      rejections. The previous example of a try/except violated the
      jest/no-try-expect ESLint rule!
    f4f2a909
frontend_testing.md 37.6 KB