tear down loaded fixtures in integration tests #698
Unanswered
hilaryRope
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have been writing some integration tests through which I am testing my application. I have a repository call that underneath uses bun for a simple GetAll operation. I am seeding the db making use of fixtures and testing each use case. The problem I am facing is a way to clean up fixtures after each test. I do not seem to find a way other than implementing a cleanup function to be called after each test. Am I missing something here? Thank you
Beta Was this translation helpful? Give feedback.
All reactions