mirror of
https://github.com/morluto/rea.git
synced 2026-11-14 18:52:48 +00:00
fix(process): await Swift frontend lifetime pipe (#7948)
This commit is contained in:
1 parent
0448f318e6
commit
c92322b473
4 files changed
+40
-15
No files matched your search
@@ -68,6 +68,14 @@ it.each([undefined, "SIGTERM"] as const)(
|
||||
},
|
||||
);
|
||||
|
||||
it("rejects a lifetime pipe without a stoppable command", async () => {
|
||||
await expect(
|
||||
execFileOutput(process.execPath, ["-e", "process.exit(0)"], {
|
||||
lifetimePipe: true,
|
||||
}),
|
||||
).rejects.toThrow("lifetimePipe requires stopSignal");
|
||||
});
|
||||
|
||||
describe("execFileOutput", () => {
|
||||
it("ignores non-Error and incomplete failure metadata", () => {
|
||||
expect(execFileOutputFailure("failure")).toBeUndefined();
|
||||
|
||||
Reference in new issue
Block a user