The best way to control Claude Code, Codex and more from any computer or phone
test(web): typecheck the project file refresh test (#34061)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Max Schwenk committed
Nov 12, 2026 at 21:10 UTC
d86ee1e26179441b24cd9ccdb2ca3444e2539a14
1 file changed
+2
-1
apps/web/src/components/files/projectFilesQueryState.refresh.test.tsx
renamed
+2
-1
@@ -2,6 +2,7 @@ import {
2
AuthFilesystemReadScope,
3
EnvironmentId,
4
type AuthSessionState,
5
+ type ProjectFileFailure,
6
ProjectReadFileError,
7
type ProjectReadFileResult,
8
} from "@t3tools/contracts";
@@ -246,7 +247,7 @@ describe("project query refresh", () => {
247
it("confirms files from reads and preserves that identity until a definitive folder result", () => {
248
const contents = file("# readme");
249
const success = AsyncResult.success(contents);
249
- const failure = (kind: ProjectReadFileError["failure"], cached = false) =>
250
+ const failure = (kind: ProjectFileFailure, cached = false) =>
251
AsyncResult.failure(
252
Cause.fail(
253
new ProjectReadFileError({ cwd: "/repo", relativePath: "src/preview.ts", failure: kind }),