News for hackers. Stuff that matters.
Re:Stop requiring only one assertion per unit test: Multiple... by dalmo3 on Saturday November 05, 2022 @06:33PM (#33486623)
It might not be the general solution you're looking for, but idiomatic Jest does the job for me.

   expect(width).toBeGreaterThan(0); expect(x+width).toBeLessThan(screenWidth);
When an assertion fails it will tell you: "Expected: X; Received: Y"

There are no comments on this comment yet.