Compare commits
11 commits
f347031571
...
e4c37f9418
Author | SHA1 | Date | |
---|---|---|---|
e4c37f9418 | |||
243889aec6 | |||
d7b8d7317b | |||
1e5537263d | |||
36589dab33 | |||
0cfb9d6322 | |||
a5a54bd291 | |||
f94da4a86a | |||
16b4fd6c67 | |||
2e835e1a25 | |||
462c57c0c7 |
3 changed files with 903 additions and 808 deletions
30
package.json
30
package.json
|
@ -30,35 +30,35 @@
|
||||||
"@types/express": "^5.0.2",
|
"@types/express": "^5.0.2",
|
||||||
"@types/jest": "^29.5.14",
|
"@types/jest": "^29.5.14",
|
||||||
"@types/uuid": "^10.0.0",
|
"@types/uuid": "^10.0.0",
|
||||||
"axios": "^1.8.4",
|
"axios": "^1.9.0",
|
||||||
"body-parser": "^1.20.2",
|
"body-parser": "^2.2.0",
|
||||||
"canvas": "^2.11.2",
|
"canvas": "^3.1.0",
|
||||||
"clone-deep": "^4.0.1",
|
"clone-deep": "^4.0.1",
|
||||||
"cron": "^3.1.7",
|
"cron": "^4.3.1",
|
||||||
"discord.js": "^14.19.3",
|
"discord.js": "^14.19.3",
|
||||||
"dotenv": "^16.0.0",
|
"dotenv": "^16.5.0",
|
||||||
"express": "^4.18.2",
|
"express": "^5.1.0",
|
||||||
"fuse.js": "^7.0.0",
|
"fuse.js": "^7.1.0",
|
||||||
"glob": "^11.0.2",
|
"glob": "^11.0.2",
|
||||||
"jest": "^29.0.0",
|
"jest": "^29.0.0",
|
||||||
"jest-mock-extended": "^4.0.0-beta1",
|
"jest-mock-extended": "^4.0.0-beta1",
|
||||||
"jimp": "^1.6.0",
|
"jimp": "^1.6.0",
|
||||||
"minimatch": "9.0.5",
|
"minimatch": "10.0.1",
|
||||||
"mysql": "^2.18.1",
|
"mysql": "^2.18.1",
|
||||||
"ts-jest": "^29.3.4",
|
"ts-jest": "^29.3.4",
|
||||||
"typeorm": "0.3.20",
|
"typeorm": "0.3.20",
|
||||||
"winston": "^3.15.0",
|
"winston": "^3.17.0",
|
||||||
"winston-daily-rotate-file": "^5.0.0",
|
"winston-daily-rotate-file": "^5.0.0",
|
||||||
"winston-discord-transport": "^1.3.0"
|
"winston-discord-transport": "^1.3.0"
|
||||||
},
|
},
|
||||||
"resolutions": {},
|
"resolutions": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^22.15.21",
|
"@types/node": "^22.15.29",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.33.0",
|
"@typescript-eslint/eslint-plugin": "^8.33.1",
|
||||||
"@typescript-eslint/parser": "^8.33.0",
|
"@typescript-eslint/parser": "^8.33.1",
|
||||||
"eslint": "^9.13.0",
|
"eslint": "^9.28.0",
|
||||||
"np": "^10.0.7",
|
"np": "^10.2.0",
|
||||||
"typescript": "^5.8.3",
|
"typescript": "^5.8.3",
|
||||||
"typescript-eslint": "^8.33.0"
|
"typescript-eslint": "^8.33.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>>();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue