test(process): pass the capture resource scope in the removed-observer test

prepareProcessCapture takes the run's resource scope on main.

Refs #7281

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
This commit is contained in:
gensokyo-devandgensokyo-dev authored and Ysopwnable committed 2026-11-14 14:16:39 +01:00
1 parent 70960d253d
commit 4e8e1f5346
1 file changed
+1
@@ -624,6 +624,7 @@ it.each(["nested", "outside", "no-roots"] as const)(
),
cleanup: (path) => rm(path, { recursive: true, force: true }),
},
createTestProcessCaptureResourceScope(),
);
try {
const expectedPaths =