This commit is contained in:
parent
739bd0713d
commit
42ec4a99db
3 changed files with 157 additions and 8 deletions
38
tests/commands/__snapshots__/warn.test.ts.snap
Normal file
38
tests/commands/__snapshots__/warn.test.ts.snap
Normal 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>,
|
||||
}
|
||||
`;
|
Loading…
Add table
Add a link
Reference in a new issue