mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
fix(test): resolve unused variable lint error in dashboard.spec.js
Renames the unused catch error variable `e` to `_` in `test/playwright/dashboard.spec.js` to satisfy the ESLint `no-unused-vars` rule. This fixes the CI failure. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
e8eec45ff7
commit
a0e0d3a9cf
1 file changed
+1
-1
@@ -69,7 +69,7 @@ test.describe.serial('TORCH Dashboard', () => {
|
||||
try {
|
||||
// We don't expect a response because the server dies
|
||||
await request.get('/shutdown', { timeout: 1000 }).catch(() => {});
|
||||
} catch (e) {
|
||||
} catch (_) {
|
||||
// Ignore
|
||||
}
|
||||
// Wait a bit for file write
|
||||
|
||||
Reference in new issue
Block a user