fix(github): repair GitHub App registration and installation auth (#2511)
Co-authored-by: Carlos Florencio <carlosmflorencio@gmail.com>
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
validateImportSecrets,
|
||||
validateRegistrationBasics,
|
||||
} from "./github-app-onboarding-model";
|
||||
import { githubAppEvents } from "./github-app-policy-dialog";
|
||||
|
||||
describe("GitHub App onboarding model", () => {
|
||||
it("requires a public HTTPS origin", () => {
|
||||
@@ -64,4 +65,8 @@ describe("GitHub App onboarding model", () => {
|
||||
submit.mockRestore();
|
||||
form?.remove();
|
||||
});
|
||||
|
||||
it("lists only configurable GitHub App webhook subscriptions", () => {
|
||||
expect(githubAppEvents).toEqual(["push", "check_run"]);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user