(core) fix some tests for node v14

Test Plan: existing tests pass

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2814
This commit is contained in:
Paul Fitzpatrick
2021-05-12 22:06:19 -04:00
parent 28cb64f1f7
commit 6d2e8378cd
2 changed files with 2 additions and 1 deletions

View File

@@ -173,6 +173,7 @@ export class NSandbox implements ISandbox {
if (this._isWriteClosed) { resolve(); }
this.childProc.on('error', reject);
this.childProc.on('close', resolve);
this.childProc.on('exit', resolve);
this._close();
});