Hacker News new | ask | show | jobs
by dean177 2763 days ago
Maybe you will be interested in a library I wrote:

https://github.com/Dean177/jest-to-match-shape-of

I had the same issue, types don't mean anything if they don't align with the data that your app is consuming. My solution was that matcher combined with some integration tests.