mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
Add missed await
This commit is contained in:
parent
01b9d30c45
commit
6a5177b319
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user