mirror of
https://github.com/langgenius/dify.git
synced 2025-12-25 01:00:42 -05:00
fix(web): resolve no-unused-vars lint warning in index.spec.ts (#29273)
This commit is contained in:
@@ -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'))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user