feat(FN-4643): complete Step 7 — documentation and delivery
Fusion-Task-Id: FN-4643 Fusion-Task-Lineage: edcfb4a1-f714-47e8-a919-50b35b40e6af
This commit is contained in:
@@ -53,7 +53,7 @@ describe("BubblewrapBackend", () => {
|
||||
capabilities: () => ({ id: "native", supportsNetworkPolicy: false, supportsFilesystemPolicy: false, supportsStreaming: true, platform: "any" }),
|
||||
prepare: vi.fn(async () => undefined),
|
||||
run: vi.fn(async () => runResult),
|
||||
runStreaming: vi.fn(async () => ({ outcome: "success", stdout: "", stderr: "", bufferOverflow: false })),
|
||||
runStreaming: vi.fn(async () => ({ outcome: "success" as const, stdout: "", stderr: "", bufferOverflow: false })),
|
||||
dispose: vi.fn(async () => undefined),
|
||||
};
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ class FakeChild extends EventEmitter {
|
||||
|
||||
describe("NativeSandboxBackend.runStreaming", () => {
|
||||
const processKillSpy = vi.spyOn(process, "kill");
|
||||
let platformSpy: ReturnType<typeof vi.spyOn<typeof process, "platform">>;
|
||||
let platformSpy: ReturnType<typeof vi.spyOn>;
|
||||
|
||||
beforeEach(() => {
|
||||
vi.useFakeTimers();
|
||||
|
||||
Reference in New Issue
Block a user