drop error message
This commit is contained in:
parent
caa941a575
commit
cc5df753ee
|
|
@ -130,7 +130,7 @@ export class WebServerPlugin implements TestRunnerPlugin {
|
||||||
|
|
||||||
return new Promise<void>((resolve, reject) => {
|
return new Promise<void>((resolve, reject) => {
|
||||||
const timer = timeout !== 0
|
const timer = timeout !== 0
|
||||||
? setTimeout(() => reject(new Error(`process didn't close gracefully within timeout, falling back to SIGKILL`)), timeout)
|
? setTimeout(() => reject(new Error(`process didn't close gracefully within timeout`)), timeout)
|
||||||
: undefined;
|
: undefined;
|
||||||
launchedProcess.once('close', (...args) => {
|
launchedProcess.once('close', (...args) => {
|
||||||
clearTimeout(timer);
|
clearTimeout(timer);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue