History

Assert platform realPath failure details

Cursor Agent committed 4 months ago

Commit bed379a1 parent 2ba84721 file · +1 −1Browse 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+1−1
@@ -188,7 +188,7 @@ it.layer(TestLayer, { excludeTestServices: true })("WorkspaceFileSystemLive", (i · 187 unmodified lines
188 });188 });
189 assert.instanceOf(error.cause, PlatformError.PlatformError);189 assert.instanceOf(error.cause, PlatformError.PlatformError);
190 assert.equal((error.cause as PlatformError.PlatformError).reason._tag, "NotFound");190 assert.equal((error.cause as PlatformError.PlatformError).reason._tag, "NotFound");
191 assert.equal((error.cause as PlatformError.PlatformError).method, "realPath");191 assert.equal((error.cause as PlatformError.PlatformError).reason.method, "realPath");
192 }),192 }),
193 );193 );
194 });194 });