



























@@ -112,7 +112,7 @@ function setup(
112112 : (options.nodesInvokeResult ?? { launched: true }),
113113);
114114const runCommandWithTimeout = vi.fn(async (argv: string[]) => {
115-if (argv[0] === "system_profiler") {
115+if (argv[0] === "/usr/sbin/system_profiler") {
116116return { code: 0, stdout: "BlackHole 2ch", stderr: "" };
117117}
118118return { code: 0, stdout: "", stderr: "" };
@@ -506,7 +506,7 @@ describe("google-meet plugin", () => {
506506expect(respond.mock.calls[0]?.[0]).toBe(true);
507507expect(runCommandWithTimeout).toHaveBeenNthCalledWith(
5085081,
509-["system_profiler", "SPAudioDataType"],
509+["/usr/sbin/system_profiler", "SPAudioDataType"],
510510{ timeoutMs: 10000 },
511511);
512512expect(runCommandWithTimeout).toHaveBeenNthCalledWith(
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。