From 6a5177b31966364adf2411918cf74722999bdc30 Mon Sep 17 00:00:00 2001 From: Dmitry S Date: Mon, 1 Apr 2024 16:00:50 -0400 Subject: [PATCH] Add missed await --- test/nbrowser/testServer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/nbrowser/testServer.ts b/test/nbrowser/testServer.ts index 3b292768..417ad8dc 100644 --- a/test/nbrowser/testServer.ts +++ b/test/nbrowser/testServer.ts @@ -68,7 +68,7 @@ export class TestServerMerged extends EventEmitter implements IMochaServer { const workerIdText = process.env.MOCHA_WORKER_ID || '0'; if (reset) { // Make sure this test server doesn't keep using the DB that's about to disappear. - this.closeDatabase(); + await this.closeDatabase(); if (process.env.TESTDIR) { this.testDir = path.join(process.env.TESTDIR, workerIdText);