@devries-cameron20 / t3code Mirror · read-only / commits / a21c0d7246
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 24, 10:15 UTC

test(server): remove duplicate VCS error constructor checks (#10042)

Julius Marminge committed Sep 5, 2026 at 01:25 UTC a21c0d724684fe3e1775014fa0dad14e483c8315
1 file changed -16
apps/server/src/vcs/VcsProjectConfig.test.ts
-16
@@ -14,22 +14,6 @@ const TestLayer = VcsProjectConfig.layer.pipe(
14 );
15
16 describe("VcsProjectConfig", () => {
17 - it("keeps operation context and the original cause on config errors", () => {
18 - const cause = new Error("permission denied");
19 - const error = new VcsProjectConfig.VcsProjectConfigError({
20 - operation: "read",
21 - cwd: "/repo/packages/app",
22 - configPath: "/repo/.t3code/vcs.json",
23 - cause,
24 - });
25 -
26 - assert.equal(error.operation, "read");
27 - assert.equal(error.cwd, "/repo/packages/app");
28 - assert.equal(error.configPath, "/repo/.t3code/vcs.json");
29 - assert.strictEqual(error.cause, cause);
30 - assert.equal(error.message, "Failed to read VCS project config at /repo/.t3code/vcs.json.");
31 - });
32 -
17 it.layer(TestLayer)("uses an explicit requested VCS kind before config", (it) => {
18 it.effect("returns the requested kind", () =>
19 Effect.gen(function* () {