forked from cadence/out-of-your-element
Fix reply preview "undefined" on embed description
This commit is contained in:
parent
1016fb1d67
commit
b7f90db20a
4 changed files with 91 additions and 6 deletions
|
@ -17,7 +17,7 @@ test("user2name: works on emojis", t => {
|
|||
})
|
||||
|
||||
test("user2name: works on single emoji at the end", t => {
|
||||
t.equal(userToSimName({username: "Amanda 🎵", discriminator: "2192"}), "amanda")
|
||||
t.equal(userToSimName({username: "Melody 🎵", discriminator: "2192"}), "melody")
|
||||
})
|
||||
|
||||
test("user2name: works on crazy name", t => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue