From b466d8da92ae748bda74a84908aaeabb137c71b9 Mon Sep 17 00:00:00 2001 From: yyh <92089059+lyzno1@users.noreply.github.com> Date: Mon, 8 Dec 2025 16:55:53 +0800 Subject: [PATCH] fix(web): resolve no-unused-vars lint warning in index.spec.ts (#29273) --- web/utils/index.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/utils/index.spec.ts b/web/utils/index.spec.ts index beda974e5c..645fc246c1 100644 --- a/web/utils/index.spec.ts +++ b/web/utils/index.spec.ts @@ -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')) }