Skip to content

Commit

Permalink
Update tests/main.test.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Mentlegen <9807008+gentlementlegen@users.noreply.github.com>
  • Loading branch information
Keyrxng and gentlementlegen authored Sep 19, 2024
1 parent 5a4c243 commit a4f9ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ describe("User start/stop", () => {
});

test("Stopping an issue should close the author's linked PR", 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, "/stop") as Context<"issue_comment.created">;
Expand Down

0 comments on commit a4f9ecb

Please sign in to comment.