Merge remote-tracking branch 'origin/main' into refactor/app/components/app/text-generate/item/index.tsx-and-add-test

This commit is contained in:
yyh 2025-12-08 16:59:10 +08:00
commit 1b8f184177
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -452,9 +452,9 @@ describe('fetchWithRetry extended', () => {
})
it('should retry specified number of times', async () => {
let attempts = 0
let _attempts = 0
const failingPromise = () => {
attempts++
_attempts++
return Promise.reject(new Error('fail'))
}