0x-api icon indicating copy to clipboard operation
0x-api copied to clipboard

Create teardown function for `App` instance

Open jalextowle opened this issue 4 years ago • 0 comments

Description

Functions should be created that provide a flow to tear down an API deployment that is created with getAppAsync. "Teardown" in this context means that another App instance and fresh dependencies can be safely deployed without the original App throwing errors or otherwise stopping execution.

Context

This is a very important feature for testing. The architecture of the RFQT tests makes using an in-process App instance essential, but this also means that the app cannot simply be "killed" by killing the process (that would kill all of the tests).

jalextowle avatar Apr 30 '20 18:04 jalextowle