History

test(server): assert normalized filesystem errors

Cursor Agent committed 3 months ago

Commit 31689721 parent d8e264e1 file · +4 −2Browse files

Showing the changes to apps/server/src/workspace/WorkspaceFileSystem.test.ts (1 of 1 file). Show all

Unified · Split

apps/server/src/workspace/WorkspaceFileSystem.test.ts+4−2
@@ -205,8 +205,10 @@ it.layer(TestLayer, { excludeTestServices: true })("WorkspaceFileSystemLive", (i · 204 unmodified lines
205 });205 });
206 expect(error.cause).toMatchObject({206 expect(error.cause).toMatchObject({
207 _tag: "PlatformError",207 _tag: "PlatformError",
208 pathOrDescriptor: resolvedPath,208 reason: {
209 reason: { _tag: "NotFound" },209 _tag: "NotFound",
210 pathOrDescriptor: resolvedPath,
211 },
210 });212 });
211 }),213 }),
212 );214 );