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
115 },115 },
116 ],116 ],
117 );117 );
118 const bitbucket = result.sourceControlProviders.find((item) => item.kind === "bitbucket");
119 assert.ok(bitbucket);
120 assert.strictEqual("executable" in bitbucket, false);
118 }).pipe(Effect.provide(testLayer));121 }).pipe(Effect.provide(testLayer));
119});122});
120 123
@@ -204,9 +207,9 @@ Logged in as bitbucket-user · 83 unmodified lines
204 },207 },
205 {208 {
206 kind: "bitbucket",209 kind: "bitbucket",
207 auth: "authenticated",210 auth: "unknown",
208 account: Option.some("bitbucket-user"),211 account: Option.none(),
209 detail: Option.none(),212 detail: Option.some("Bitbucket provider support is not available yet."),
210 },213 },
211 ],214 ],
212 );215 );