Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 0 additions & 96 deletions apps/server/src/process/externalLauncher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,17 +180,6 @@ it.effect("launches an installed editor with platform-safe arguments", () =>
}).pipe(Effect.scoped, Effect.provide(NodeServices.layer)),
);

for (const {} of ["darwin", "linux"] as const) {
}

for (const {} of [
{ kind: "browser", folderVerb: "none" },
{ kind: "reveal", folderVerb: "none" },
{ kind: "reveal", folderVerb: "" },
{ kind: "reveal", folderVerb: "open" },
] as const) {
}

it.effect.skipIf(windowsHost)(
"reveals a WSL file in Windows File Explorer through its UNC path",
() =>
Expand Down Expand Up @@ -305,91 +294,6 @@ for (const wsl of [false, true]) {
);
}

for (const {} of ["rejected", "spawn-error", "stalled"] as const) {
}

for (const {} of [
{
platform: "darwin",
installPath: "Applications/Antigravity IDE.app/Contents/Resources/app/bin/antigravity-ide",
editor: "antigravity",
args: ["--goto", "/workspace with spaces/file.ts:12:4"],
},
{
platform: "linux",
installPath: ".local/bin/antigravity-ide",
editor: "antigravity",
args: ["--goto", "/workspace with spaces/file.ts:12:4"],
},
{
platform: "darwin",
installPath: "Applications/Cursor.app/Contents/Resources/app/bin/code",
editor: "cursor",
args: ["--classic", "--goto", "/workspace with spaces/file.ts:12:4"],
},
{
platform: "darwin",
installPath: "Applications/Kiro.app/Contents/Resources/app/bin/code",
editor: "kiro",
args: ["--goto", "/workspace with spaces/file.ts:12:4"],
},
{
platform: "darwin",
installPath: "Applications/WebStorm.app/Contents/MacOS/webstorm",
editor: "webstorm",
args: ["--line", "12", "--column", "3", "/workspace with spaces/file.ts"],
},
{
platform: "darwin",
installPath: "Applications/Zed.app/Contents/MacOS/cli",
editor: "zed",
args: ["/workspace with spaces/file.ts:12:4"],
},
{
platform: "win32",
installPath: "Programs/Cursor/resources/app/bin/cursor.cmd",
editor: "cursor",
args: ['^"--classic^"', '^"--goto^"', '^"/workspace^ with^ spaces/file.ts:12:4^"'],
},
{
platform: "win32",
installPath: "Programs/Microsoft VS Code/bin/code.cmd",
editor: "vscode",
args: ['^"--goto^"', '^"/workspace^ with^ spaces/file.ts:12:4^"'],
},
{
platform: "win32",
installPath: "Programs/JetBrains/WebStorm 2026.2/bin/webstorm64.exe",
editor: "webstorm",
args: ["--line", "12", "--column", "3", "/workspace with spaces/file.ts"],
},
{
platform: "win32",
installPath: "Programs/WebStorm/bin/webstorm64.exe",
editor: "webstorm",
args: ["--line", "12", "--column", "3", "/workspace with spaces/file.ts"],
},
{
platform: "win32",
installPath: "Programs/Zed/bin/zed.exe",
editor: "zed",
args: ["/workspace with spaces/file.ts:12:4"],
},
{
platform: "linux",
installPath: ".local/share/JetBrains/Toolbox/scripts/idea",
editor: "idea",
args: ["--line", "12", "--column", "3", "/workspace with spaces/file.ts"],
},
{
platform: "linux",
installPath: ".local/bin/zed",
editor: "zed",
args: ["/workspace with spaces/file.ts:12:4"],
},
] as const) {
}

for (const cwd of ["/workspace with spaces/", "/workspace with spaces/file.ts:12:4"]) {
it.effect.skipIf(windowsHost)(
`opens ${cwd} with the macOS Zed bundle when another zed is on PATH`,
Expand Down
3 changes: 0 additions & 3 deletions apps/server/src/processRunner.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,6 @@ describe("runProcess", () => {
expect(result.code).toBe(0);
}),
);

for (const {} of ["timeout", "success"] as const) {
}
});

describe("isWindowsCommandNotFound", () => {
Expand Down
3 changes: 0 additions & 3 deletions apps/server/src/provider/Drivers/CodexDriver.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -457,9 +457,6 @@ it.layer(layerTest)("CodexDriver", (it) => {
);
}

for (const {} of ["direct", "wrapper"] as const) {
}

it.effect.each([
{
name: "conventional shim",
Expand Down
9 changes: 0 additions & 9 deletions apps/server/src/pullRequest/PullRequestService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1433,15 +1433,6 @@ it.effect("stops new reads after a rate limit while leaving manual actions avail
}),
);

for (const [] of [
["github", "github.com"],
["gitlab", "gitlab.com"],
["forgejo", "code.example.test"],
["bitbucket", "bitbucket.org"],
["azure-devops", "dev.azure.com"],
] as const) {
}

it.effect("refuses a repository that does not belong to the requested project", () =>
Effect.gen(function* () {
const service = yield* makeService({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,4 @@ describe("verifyOpenCodeServerVersion", () => {
expect(error.detail).toContain("v1.14.18 is too old");
}),
);

for (const {} of [
{ healthy: true },
{ healthy: true, version: "not-a-version" },
{ healthy: false, version: "1.14.19" },
]) {
}
});
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ export default defineConfig({
perf: "warn",
},
rules: {
"eslint/no-empty-pattern": "error",
"eslint/no-new": "error",
"unicorn/no-useless-spread": "error",
"eslint/no-unused-vars": [
Expand Down
Loading