Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Sep 19, 2024
1 parent a4f9ecb commit 44454b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/types/plugin-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface PluginInputs<T extends SupportedEventsU = SupportedEventsU, TU
ref: string;
}

const rolesWithReviewAuthority = T.Array(T.String(), { default: ["COLLABORATOR", "OWNER", "MEMBER"] });
const rolesWithReviewAuthority = T.Array(T.String(), { default: ["COLLABORATOR", "OWNER", "MEMBER", "ADMIN"] });

function maxConcurrentTasks() {
return T.Transform(T.Record(T.String(), T.Integer(), { default: { member: 10, contributor: 2 } }))
Expand Down
20 changes: 10 additions & 10 deletions tests/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe("User start/stop", () => {
});

test("Author's manual unassign should close linked issue", async () => {
const infoSpy = jest.spyOn(console, "info").mockImplementation(() => { });
const infoSpy = jest.spyOn(console, "info").mockImplementation(() => {});
const issue = db.issue.findFirst({ where: { id: { equals: 2 } } }) as unknown as Issue;
const sender = db.users.findFirst({ where: { id: { equals: 2 } } }) as unknown as PayloadSender;
const context = createContext(issue, sender, "") as Context<"issues.unassigned">;
Expand Down Expand Up @@ -641,17 +641,17 @@ function getSupabase(withData = true) {
single: jest.fn().mockResolvedValue({
data: withData
? {
id: 1,
wallets: {
address: "0x123",
},
}
id: 1,
wallets: {
address: "0x123",
},
}
: {
id: 1,
wallets: {
address: undefined,
id: 1,
wallets: {
address: undefined,
},
},
},
}),
}),
}),
Expand Down

0 comments on commit 44454b7

Please sign in to comment.