Replies: 1 comment
-
An related question I have is around best practices for managing orphaned connections. Basically my setup is that I use prool to start/stop a global instance of a network fork:
the issue is that if there's some exception in my tests, the teardown doesn't get called and there's a hanging network fork on at first I tried it's doable, but seems like I'm taking a very roundabout approach to dealing with connections, any suggestions? |
Beta Was this translation helpful? Give feedback.
-
Thank you guys for the library, been looking for a good alternative to hardhat given that I use a viem / foundry stack, so happy to come across this.
--
On my global test teardown I have this:
Is this the proper way to shut everything down? What's the difference between closing connections and stopping the server?
Beta Was this translation helpful? Give feedback.
All reactions