From 3168972c0ab5057a934321bc69ba8993d8dc0391 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 19 Jul 2026 16:07:48 +0000 Subject: [PATCH] test(server): assert normalized filesystem errors Co-authored-by: Julius Marminge --- apps/server/src/workspace/WorkspaceFileSystem.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/server/src/workspace/WorkspaceFileSystem.test.ts b/apps/server/src/workspace/WorkspaceFileSystem.test.ts index 7ad5a67ee2..5dcb516aa6 100644 --- a/apps/server/src/workspace/WorkspaceFileSystem.test.ts +++ b/apps/server/src/workspace/WorkspaceFileSystem.test.ts @@ -205,8 +205,10 @@ it.layer(TestLayer, { excludeTestServices: true })("WorkspaceFileSystemLive", (i }); expect(error.cause).toMatchObject({ _tag: "PlatformError", - pathOrDescriptor: resolvedPath, - reason: { _tag: "NotFound" }, + reason: { + _tag: "NotFound", + pathOrDescriptor: resolvedPath, + }, }); }), );