0.10 Dependency Updates #467

Open
Vylpes wants to merge 24 commits from feature/CD-445 into develop
Showing only changes of commit 462c57c0c7 - Show all commits

View file

@ -82,7 +82,7 @@ describe("UseConfirm", () => {
// Arrange // Arrange
interaction.customId += " unclaimed"; interaction.customId += " unclaimed";
interaction.user.id = "userId"; interaction.user.id = "userId";
interaction.update.mockImplementation(async (opts: string | MessagePayload | InteractionUpdateOptions) => { (interaction.update as jest.Mock).mockImplementation(async (opts: string | MessagePayload | InteractionUpdateOptions) => {
updatedWith = opts; updatedWith = opts;
return mock<InteractionResponse<boolean>>(); return mock<InteractionResponse<boolean>>();
@ -133,7 +133,7 @@ describe("UseCancel", () => {
// Arrange // Arrange
interaction.customId += " unclaimed"; interaction.customId += " unclaimed";
interaction.user.id = "userId"; interaction.user.id = "userId";
interaction.update.mockImplementation(async (opts: string | MessagePayload | InteractionUpdateOptions) => { (interaction.update as jest.Mock).mockImplementation(async (opts: string | MessagePayload | InteractionUpdateOptions) => {
updatedWith = opts; updatedWith = opts;
return mock<InteractionResponse<boolean>>(); return mock<InteractionResponse<boolean>>();