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
205205 });
206206 expect(error.cause).toMatchObject({
207207 _tag: "PlatformError",
208− pathOrDescriptor: resolvedPath,
209− reason: { _tag: "NotFound" },
208+ reason: {
209+ _tag: "NotFound",
210+ pathOrDescriptor: resolvedPath,
211+ },
210212 });
211213 }),
212214 );