History

chore: delete dead code, unused deps, and duplicate helpers (#9129)

Theo Browne committed 2 months ago

Commit 08aad591 parent b21d872103 files · +227 −3463Browse files

Showing the changes to apps/server/src/sourceControl/BitbucketSourceControlProvider.test.ts (1 of 103 files). Show all

Unified · Split

apps/server/src/sourceControl/BitbucketSourceControlProvider.test.ts+0−17
@@ -149,20 +149,3 @@ it.effect("creates Bitbucket PRs through provider-neutral input names", () => · 148 unmodified lines
149149 });
150150 }),
151151 );
152−
153−it.effect("uses Bitbucket API repository detection for default branch lookup", () =>
154− Effect.gen(function* () {
155− let cwdInput: string | null = null;
156− const provider = yield* makeProvider({
157− getDefaultBranch: (input) => {
158− cwdInput = input.cwd;
159− return Effect.succeed("main");
160− },
161− });
162−
163− const defaultBranch = yield* provider.getDefaultBranch({ cwd: "/repo" });
164−
165− assert.strictEqual(defaultBranch, "main");
166− assert.strictEqual(cwdInput, "/repo");
167− }),
168−);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t