Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leaftail1880 committed Nov 4, 2024
1 parent 6893d82 commit a0b61c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/mail.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ describe('mail', () => {
expect(Mail.unreadBadge('playerId')).toMatchInlineSnapshot(`"§7§7"`)

Mail.send('playerId', 'Some mail', 'content', new Rewards())
expect(Mail.unreadBadge('playerId')).toMatchInlineSnapshot(`"§7§8(§c1§8)§7"`)
expect(Mail.unreadBadge('playerId')).toMatchInlineSnapshot(`"§7§7(§c1§7)§7"`)

Mail.send('playerId', 'Some mail', 'content', new Rewards())
expect(Mail.unreadBadge('playerId')).toMatchInlineSnapshot(`"§7§8(§c2§8)§7"`)
expect(Mail.unreadBadge('playerId')).toMatchInlineSnapshot(`"§7§7(§c2§7)§7"`)
})
})

0 comments on commit a0b61c9

Please sign in to comment.