lol dont clone tags, add some more empty endpoints

This commit is contained in:
Devin Zuczek
2026-07-15 14:40:02 -04:00
parent 4612144880
commit 0061dc046b
5 changed files with 25 additions and 10 deletions
@@ -373,6 +373,12 @@ describe('public endpoints', () => {
expect(await res.json()).toEqual([])
})
test('GET /api/customAvatarItems/v1/hot returns []', async () => {
const res = await exports.default.fetch(`${ORIGIN}/api/customAvatarItems/v1/hot`)
expect(res.status).toBe(200)
expect(await res.json()).toEqual([])
})
test('GET /api/customAvatarItems/v2/fromCreator/:id returns an empty paginated result', async () => {
const res = await exports.default.fetch(`${ORIGIN}/api/customAvatarItems/v2/fromCreator/2`)
expect(res.status).toBe(200)