How to setup and teardown database records when running integration tests with trpc?
Currently, I'm doing this but it seems impractical to do with more tables in the database. Is there an alternative approach?
I also run into errors where certain tables still contain records which means it's not cleaned up properly after running tests. Thanks in advanced! ❤️
2 Replies