fix: error propagation for tests
This commit is contained in:
parent
d03c72bc75
commit
65416c7156
|
@ -164,9 +164,7 @@ export async function startServer({
|
|||
process.stderr.on('drain', resolve);
|
||||
});
|
||||
}
|
||||
// eslint-disable-next-line no-console
|
||||
console.error('\nserver process exited unexpectedly\n');
|
||||
process.exit(code);
|
||||
throw new Error('\nserver process exited unexpectedly\n');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user