mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-28 13:26:04 -06:00
fix(gateway): restore view-only macOS desktop observation (#128306)
Worked on by: - @shakkernerd Co-authored-by: roboclaw-bot <309084314+roboclaw-bot@users.noreply.github.com> Co-authored-by: shakkernerd <165377636+shakkernerd@users.noreply.github.com>
This commit is contained in:
@@ -372,10 +372,11 @@ describe.skipIf(process.platform === "win32")("run-tsgo watchdog", () => {
|
||||
const compilerPid = await waitForPidFile(pidFile, 10_000);
|
||||
wrapper.kill("SIGTERM");
|
||||
|
||||
await expect(waitForChildClose(wrapper, 15_000)).resolves.toEqual({
|
||||
code: 143,
|
||||
signal: null,
|
||||
});
|
||||
const wrapperResult = await waitForChildClose(wrapper, 15_000);
|
||||
expect([
|
||||
{ code: 143, signal: null },
|
||||
{ code: null, signal: "SIGTERM" },
|
||||
]).toContainEqual(wrapperResult);
|
||||
await expect(waitForDead(compilerPid, 2_000)).resolves.toBeUndefined();
|
||||
} finally {
|
||||
if (wrapper.exitCode === null && wrapper.signalCode === null) {
|
||||
|
||||
Reference in New Issue
Block a user