In general, what is the standard method of writing a unit test in Jest, when the condition is complex enough that none of the matchers fit well?
I can think of something like:
expect(complexCondition).toBe(true)
but it feels ugly. Is there an official, recommended solution, or at least a popular one?