package: fix test

This commit is contained in:
bordun 2020-03-15 21:42:53 +01:00
parent cd013e372e
commit 643211b39f

View file

@ -47,7 +47,7 @@ setTimeout(()=>{
}, 5000)
function end(fail){
process.kill(-proc.pid)
proc.kill()
fs.unlinkSync(sessionPath)
process.exit(fail ? 1 : 0)
}