T
tRPC

❓-help

How to close a Standalone adapter server?

AAerys10/4/2023
I want to run some integration tests with Vitest and for some reason I don't want to use the createCaller() API. Is there a way to close the Standalone server when tearing down the tests?
AKAlex / KATT 🐱10/4/2023
.close() .listen(0) to start at a random port and then close after

Looking for more? Join the community!