Showing the changes to apps/server/src/workspace/Layers/WorkspaceFileSystem.test.ts (1 of 42 files). Show all
Unified · Split
| @@ -132,7 +132,7 @@ it.layer(TestLayer)("WorkspaceFileSystemLive", (it) => { · 131 unmodified lines | ||
| 132 | 132 | const escapedPath = path.resolve(cwd, "..", "escape.md"); |
| 133 | 133 | const escapedStat = yield* fileSystem |
| 134 | 134 | .stat(escapedPath) |
| 135 | − .pipe(Effect.catch(() => Effect.succeed(null))); | |
| 135 | + .pipe(Effect.orElseSucceed(() => null)); | |
| 136 | 136 | expect(escapedStat).toBeNull(); |
| 137 | 137 | }), |
| 138 | 138 | ); |