mirror of
https://github.com/langgenius/dify.git
synced 2026-04-28 20:17:29 +08:00
fix(web): resolve no-unused-vars lint warning in index.spec.ts (#29273)
This commit is contained in:
parent
71497954b8
commit
b466d8da92
@ -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'))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user