diff --git a/jest/global-setup.js b/jest/global-setup.js index 9d5948a..4ec7bc0 100644 --- a/jest/global-setup.js +++ b/jest/global-setup.js @@ -29,7 +29,7 @@ function runForAWhile(timeout) { const obsidian = cp.spawn(OBSIDIAN_APP_CMD); obsidian.on("error", reject); await wait(timeout); - obsidian.kill(); + obsidian.kill('SIGKILL'); resolve(); }); }