(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(); } if (this._isWriteClosed) { resolve(); }
this.childProc.on('error', reject); this.childProc.on('error', reject);
this.childProc.on('close', resolve); this.childProc.on('close', resolve);
this.childProc.on('exit', resolve);
this._close(); this._close();
}); });

View File

@ -99,7 +99,7 @@
"moment-timezone": "0.5.21", "moment-timezone": "0.5.21",
"morgan": "1.9.1", "morgan": "1.9.1",
"mousetrap": "1.6.2", "mousetrap": "1.6.2",
"multiparty": "4.2.1", "multiparty": "4.2.2",
"node-fetch": "2.2.0", "node-fetch": "2.2.0",
"numeral": "2.0.6", "numeral": "2.0.6",
"plotly.js-basic-dist": "1.51.1", "plotly.js-basic-dist": "1.51.1",