We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12874cc commit 964ed31Copy full SHA for 964ed31
packages/rest/__tests__/CDN.test.ts
@@ -134,8 +134,11 @@ test('soundboardSound', () => {
134
expect(cdn.soundboardSound(id)).toEqual(`${baseCDN}/soundboard-sounds/${id}`);
135
});
136
137
+test('guildTagBadge', () => {
138
+ expect(cdn.guildTagBadge(id, hash)).toEqual(`${baseCDN}/guild-tag-badges/${id}/${hash}.webp`);
139
+});
140
+
141
test('makeURL throws on invalid size', () => {
- // @ts-expect-error: Invalid size
142
expect(() => cdn.avatar(id, animatedHash, { size: 5 })).toThrow(RangeError);
143
144
0 commit comments