Have been wrestling with some Jest tests in this PR for a few days:
https://github.com/distributeaid/shipment-tracker/pull/171

Jest's way to set up test synchronously makes it really hard to use it with data
that is created async (in this case database entries).

Wed, 23 Jun 2021 19:17:43 UTC

1 reply