Assert platform realPath failure details
Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
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");
|
||||
}),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user