If you’re still writing unit tests consider using a strongly typed functional language instead. Typescript will get you most of the way there. At some point you’ll realize all the assertions you’re making are already covered. Integration tests are the only valuable tests in my experience, using something like puppeteer, playwright, or cypress that automatically runs as part of a build pipeline.