[misc] test/acceptance: skip the shutdown in case we did not start yet

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
This commit is contained in:
Jakob Ackermann 2020-02-23 18:26:30 +00:00
parent 6589aa6ae0
commit 847f124d7b

View file

@ -62,6 +62,7 @@ class FilestoreApp {
}
async stop() {
if (!this.server) return
const closeServer = promisify(this.server.close).bind(this.server)
try {
await closeServer()