package: fix test

This commit is contained in:
bordun 2020-03-15 21:42:53 +01:00
parent f0a87add60
commit c4ec9c36ac

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)
}