Skip to content
This repository has been archived by the owner on Jan 8, 2022. It is now read-only.

Commit

Permalink
fix: use hash instead of animatedHash for default avatar test (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
iShibi authored Oct 11, 2021
1 parent cdfc067 commit 4852838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rest/__tests__/CDN.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test('appIcon default', () => {
});

test('avatar default', () => {
expect(cdn.avatar(id, animatedHash)).toBe(`${base}/avatars/${id}/${animatedHash}.png`);
expect(cdn.avatar(id, hash)).toBe(`${base}/avatars/${id}/${hash}.png`);
});

test('avatar dynamic-animated', () => {
Expand Down

0 comments on commit 4852838

Please sign in to comment.