backend-test-utils: automatically stop backends after test
Co-authored-by: Johan Haals <johan.haals@gmail.com> Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -170,7 +170,7 @@ export class BackendInitializer {
|
||||
|
||||
async stop(): Promise<void> {
|
||||
if (!this.#started) {
|
||||
throw new Error('Backend has not started');
|
||||
return;
|
||||
}
|
||||
this.#started = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user