Assert platform realPath failure details

Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
Cursor AgentandJulius Marminge committed 2026-06-24 16:08:12 +00:00
1 parent 2ba8472afb
commit bed379a80b
1 file changed
+1 -1
@@ -188,7 +188,7 @@ it.layer(TestLayer, { excludeTestServices: true })("WorkspaceFileSystemLive", (i
});
assert.instanceOf(error.cause, PlatformError.PlatformError);
assert.equal((error.cause as PlatformError.PlatformError).reason._tag, "NotFound");
assert.equal((error.cause as PlatformError.PlatformError).method, "realPath");
assert.equal((error.cause as PlatformError.PlatformError).reason.method, "realPath");
}),
);
});