From 15efa61149e958654232c6bf4e26dd3738765e7b Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Tue, 13 Oct 2026 20:36:55 +0800 Subject: [PATCH] style: format reviewed source changes --- .../asarStreamingAllocation.test.ts | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/tests/boundary/filesystem/asarStreamingAllocation.test.ts b/tests/boundary/filesystem/asarStreamingAllocation.test.ts index 6d71b5b56..24009a14f 100644 --- a/tests/boundary/filesystem/asarStreamingAllocation.test.ts +++ b/tests/boundary/filesystem/asarStreamingAllocation.test.ts @@ -325,7 +325,9 @@ describe("ASAR read failures", () => { it.skipIf(process.platform === "win32")( "closes the opened unpacked file and retains ASAR context when handle stat fails", async () => { - const { archive, unpackedPath, identity } = await createUnpackedFixture("rea-asar-unpacked-stat-"); + const { archive, unpackedPath, identity } = await createUnpackedFixture( + "rea-asar-unpacked-stat-", + ); const ioError = Object.assign(new Error("device stat failed"), { code: "EIO", errno: -5, @@ -387,7 +389,9 @@ describe("ASAR read failures", () => { it.skipIf(process.platform === "win32")( "never treats an invalidated unpacked handle as proof of cleanup recovery", async () => { - const { archive, unpackedPath, identity } = await createUnpackedFixture("rea-asar-invalidated-handle-"); + const { archive, unpackedPath, identity } = await createUnpackedFixture( + "rea-asar-invalidated-handle-", + ); const statFailure = Object.assign(new Error("unpacked metadata failed"), { code: "EIO", errno: -5, @@ -450,7 +454,9 @@ it.skipIf(process.platform === "win32")( it.skipIf(process.platform === "win32")( "retries cleanup when cancellation arrives immediately after unpacked stat", async () => { - const { archive, unpackedPath, identity } = await createUnpackedFixture("rea-asar-unpacked-abort-stat-"); + const { archive, unpackedPath, identity } = await createUnpackedFixture( + "rea-asar-unpacked-abort-stat-", + ); const controller = new AbortController(); let closeCount = 0; const reader = new AsarArtifactReader(archive, { @@ -497,7 +503,9 @@ it.skipIf(process.platform === "win32")( it.skipIf(process.platform === "win32")( "preserves an unpacked identity failure when closing its handle fails", async () => { - const { archive, unpackedPath, identity } = await createUnpackedFixture("rea-asar-unpacked-identity-"); + const { archive, unpackedPath, identity } = await createUnpackedFixture( + "rea-asar-unpacked-identity-", + ); const closeError = new Error("first close failed"); let closeCount = 0; const reader = new AsarArtifactReader(archive, { @@ -547,7 +555,9 @@ it.skipIf(process.platform === "win32")( it.skipIf(process.platform === "win32")( "retains unpacked handles before retrying snapshot cleanup failures", async () => { - const { archive, unpackedPath, identity } = await createUnpackedFixture("rea-asar-combined-cleanup-"); + const { archive, unpackedPath, identity } = await createUnpackedFixture( + "rea-asar-combined-cleanup-", + ); const closeError = new Error("unpacked close denied"); const snapshotError = new Error("snapshot removal denied"); let closeCount = 0;