[automated] Apply ESLint and Oxfmt fixes

This commit is contained in:
GitHub Action
2026-03-29 06:08:28 +00:00
parent f5ccdbda5b
commit 71e9e7c057

View File

@@ -107,7 +107,11 @@ test.describe('AssetHelper', () => {
)
expect(status).toBe(200)
const data = body as { assets: unknown[]; total: number; has_more: boolean }
const data = body as {
assets: unknown[]
total: number
has_more: boolean
}
expect(data.assets).toHaveLength(2)
expect(data.total).toBe(2)
expect(data.has_more).toBe(false)
@@ -127,7 +131,11 @@ test.describe('AssetHelper', () => {
comfyPage.page,
`${comfyPage.url}/api/assets?limit=2&offset=0`
)
const data = body as { assets: unknown[]; total: number; has_more: boolean }
const data = body as {
assets: unknown[]
total: number
has_more: boolean
}
expect(data.assets).toHaveLength(2)
expect(data.total).toBe(10)
expect(data.has_more).toBe(true)