We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90a0fb0 commit c432fd8Copy full SHA for c432fd8
1 file changed
src/test/ts/ps.test.ts
@@ -93,7 +93,7 @@ describe('tree()', () => {
93
const children = await tree(pid)
94
const childrenAll = await tree({ pid, recursive: true })
95
96
- await Promise.all(list.map(p => kill(p.pid)))
+ await Promise.all(list.map(p => kill(p.pid, 'SIGKILL')))
97
98
assert.equal(children.length, 1)
99
assert.equal(childrenAll.length, 2)
@@ -119,7 +119,7 @@ describe('treeSync()', () => {
119
const children = treeSync(pid)
120
const childrenAll = treeSync({ pid, recursive: true })
121
122
123
124
125
0 commit comments