WIP: Start of warn command tests
All checks were successful
Test / build (push) Successful in 16s

This commit is contained in:
Ethan Lane 2024-06-28 18:21:28 +01:00
parent 739bd0713d
commit 42ec4a99db
3 changed files with 157 additions and 8 deletions

View file

@ -0,0 +1,38 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Execute EXPECT user to be warned 1`] = `
[
{
"color": 3166394,
"description": "<@userId> \`userTag\`",
"fields": [
{
"name": "Moderator",
"value": "<@moderatorId>",
},
{
"name": "Reason",
"value": "Test reason",
},
],
"thumbnail": {
"url": "https://google.com/avatar.png",
},
"title": "Member Warned",
},
]
`;
exports[`Execute EXPECT user to be warned 2`] = `
{
"AuditId": Any<String>,
"AuditType": 1,
"Id": Any<String>,
"ModeratorId": "moderatorId",
"Reason": "Test reason",
"ServerId": "guildId",
"UserId": "userId",
"WhenCreated": Any<Date>,
"WhenUpdated": Any<Date>,
}
`;