From 61bfbce04708ff4b7835ac2368503dd3a3ca59cb Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 18 Jul 2026 16:06:38 +0000 Subject: [PATCH] format workspace filesystem tests Co-authored-by: Julius Marminge --- .../src/workspace/WorkspaceFileSystem.test.ts | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/apps/server/src/workspace/WorkspaceFileSystem.test.ts b/apps/server/src/workspace/WorkspaceFileSystem.test.ts index 9936089046..947977b3b5 100644 --- a/apps/server/src/workspace/WorkspaceFileSystem.test.ts +++ b/apps/server/src/workspace/WorkspaceFileSystem.test.ts @@ -206,10 +206,7 @@ it.layer(TestLayer, { excludeTestServices: true })("WorkspaceFileSystemLive", (i operation: "realpath-target", }); assert.instanceOf(error.cause, PlatformError.PlatformError); - assert.strictEqual( - (error.cause as PlatformError.PlatformError).reason._tag, - "NotFound", - ); + assert.strictEqual((error.cause as PlatformError.PlatformError).reason._tag, "NotFound"); }), ); }); @@ -243,9 +240,7 @@ it.layer(TestLayer, { excludeTestServices: true })("WorkspaceFileSystemLive", (i yield* writeTextFile(cwd, "src/existing.ts", "export {};\n"); const beforeWrite = yield* workspaceEntries.list({ cwd }); - assert.isFalse( - beforeWrite.entries.some((entry) => entry.path === "plans/effect-rpc.md"), - ); + assert.isFalse(beforeWrite.entries.some((entry) => entry.path === "plans/effect-rpc.md")); yield* workspaceFileSystem.writeFile({ cwd, @@ -254,9 +249,7 @@ it.layer(TestLayer, { excludeTestServices: true })("WorkspaceFileSystemLive", (i }); const afterWrite = yield* workspaceEntries.list({ cwd }); - assert.isTrue( - afterWrite.entries.some((entry) => entry.path === "plans/effect-rpc.md"), - ); + assert.isTrue(afterWrite.entries.some((entry) => entry.path === "plans/effect-rpc.md")); assert.isFalse(afterWrite.truncated); }), );