test(server): assert normalized filesystem errors
Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
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,
|
||||
},
|
||||
});
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user