Skip to content

Commit

Permalink
remove spurious kill() spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Feb 2, 2023
1 parent 24196a8 commit 0642382
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,6 @@ describe("test.js", () => {
return
})

it("kill(!force) with ignoreExit set doesn't cause the process to end", async () => {
setIgnoreExit(true)
const h = new Harness()
h.child.stdin!.write("upcase fuzzy\n")
await h.untilOutput()
kill(h.child.pid, false)
await until(() => h.notRunning(), 500)
expect(await h.running()).to.eql(true)
return h.end()
})

it("kill(!force) with ignoreExit unset causes the process to end", async () => {
setIgnoreExit(false)
const h = new Harness()
Expand Down

0 comments on commit 0642382

Please sign in to comment.