History

Add remote repository publish and discovery support (#2482)

Julius Marminge committed 6 months ago

Commit d7969261 parent f7748a033 files · +2502 −157Browse files

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

Unified · Split

apps/server/src/sourceControl/SourceControlDiscovery.test.ts+6−3
@@ -115,6 +115,9 @@ Logged in to github.com account juliusmarminge (keyring) · 114 unmodified lines
115115 },
116116 ],
117117 );
118+ const bitbucket = result.sourceControlProviders.find((item) => item.kind === "bitbucket");
119+ assert.ok(bitbucket);
120+ assert.strictEqual("executable" in bitbucket, false);
118121 }).pipe(Effect.provide(testLayer));
119122 });
120123
@@ -204,9 +207,9 @@ Logged in as bitbucket-user · 83 unmodified lines
204207 },
205208 {
206209 kind: "bitbucket",
207− auth: "authenticated",
208− account: Option.some("bitbucket-user"),
209− detail: Option.none(),
210+ auth: "unknown",
211+ account: Option.none(),
212+ detail: Option.some("Bitbucket provider support is not available yet."),
210213 },
211214 ],
212215 );