fix(web): resolve no-unused-vars lint warning in index.spec.ts (#29273)

This commit is contained in:
yyh 2025-12-08 16:55:53 +08:00 committed by GitHub
parent 71497954b8
commit b466d8da92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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