fix(test): make host fixtures portable

This commit is contained in:
morluto
2026-07-16 19:51:25 +08:00
parent b2d1f2affd
commit f23f52903c
11 changed files with 74 additions and 23 deletions
+9
View File
@@ -249,6 +249,15 @@ describe("process capture domain", () => {
after: initialized,
}),
).toBe(true);
expect(
isInitializedPtyRoot({
rootPid: 100,
expectedRunId: "run-token",
before: { ...initialized, session_id: null },
observedRunId: "run-token",
after: { ...initialized, session_id: null },
}),
).toBe(true);
});
it("keeps interaction and shim residual uncertainty in separate scopes", () => {