test(server): assert normalized filesystem errors

Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
Cursor AgentandJulius Marminge committed 2026-07-19 16:07:48 +00:00
1 parent d8e264ee18
commit 3168972c0a
1 file changed
+4 -2
@@ -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,
},
});
}),
);