Fix unit tests (#3368)

This commit is contained in:
Alexandru Dima 2022-10-17 21:26:21 +02:00 committed by GitHub
parent 547870b688
commit a3d4b960c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View file

@ -74,7 +74,7 @@ function runTest(type, browser) {
proc.on('error', reject);
proc.on('exit', (code) => {
if (code === 0) {
resolve();
resolve(undefined);
} else {
reject(code);
}