TypeScript
test(server): remove duplicate VCS error constructor checks (#10042)
Julius Marmingea21c0d724684
diff --git a/apps/server/src/vcs/VcsProjectConfig.test.ts b/apps/server/src/vcs/VcsProjectConfig.test.tsindex 04f7fcffcda..88f48e9e8af 100644--- a/apps/server/src/vcs/VcsProjectConfig.test.ts+++ b/apps/server/src/vcs/VcsProjectConfig.test.ts@@ -14,22 +14,6 @@ const TestLayer = VcsProjectConfig.layer.pipe();describe("VcsProjectConfig", () => {- it("keeps operation context and the original cause on config errors", () => {- const cause = new Error("permission denied");- const error = new VcsProjectConfig.VcsProjectConfigError({- operation: "read",- cwd: "/repo/packages/app",- configPath: "/repo/.t3code/vcs.json",- cause,- });-- assert.equal(error.operation, "read");- assert.equal(error.cwd, "/repo/packages/app");- assert.equal(error.configPath, "/repo/.t3code/vcs.json");- assert.strictEqual(error.cause, cause);- assert.equal(error.message, "Failed to read VCS project config at /repo/.t3code/vcs.json.");- });-it.layer(TestLayer)("uses an explicit requested VCS kind before config", (it) => {it.effect("returns the requested kind", () =>Effect.gen(function* () {