From 0592879b52ce1a3aecc69e6422f7c92cca2e4943 Mon Sep 17 00:00:00 2001 From: Mariusz Banach Date: Wed, 18 Feb 2026 01:33:18 +0100 Subject: [PATCH] MAESTRO: fix lint deps for test selector --- .../SpecKit-web-header-analyzer-Phase-04-Test-Selection.md | 2 +- frontend/src/components/TestSelector.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Auto Run Docs/SpecKit-web-header-analyzer-Phase-04-Test-Selection.md b/Auto Run Docs/SpecKit-web-header-analyzer-Phase-04-Test-Selection.md index d853581..c926d0c 100644 --- a/Auto Run Docs/SpecKit-web-header-analyzer-Phase-04-Test-Selection.md +++ b/Auto Run Docs/SpecKit-web-header-analyzer-Phase-04-Test-Selection.md @@ -37,7 +37,7 @@ This phase implements the test selection panel and analysis configuration contro - [x] DNS resolution toggle defaults to off - [x] Decode-all toggle is functional - [x] All controls are keyboard accessible (Tab, Enter, Space) -- [ ] Linting passes (`ruff check backend/`, `npx eslint src/`) +- [x] Linting passes (`ruff check backend/`, `npx eslint src/`) - [ ] Run `/speckit.analyze` to verify consistency Note: Verified Select All/Deselect All behavior via `TestSelector.test.tsx` ("selects and deselects all tests") on 2026-02-18. diff --git a/frontend/src/components/TestSelector.tsx b/frontend/src/components/TestSelector.tsx index 73d3e7a..b49fa6a 100644 --- a/frontend/src/components/TestSelector.tsx +++ b/frontend/src/components/TestSelector.tsx @@ -98,7 +98,7 @@ export default function TestSelector({ selectedTestIds, onSelectionChange }: Tes return () => { isActive = false; }; - }, []); + }, [client]); const normalizedSearch = searchText.trim().toLowerCase(); const filteredTests = useMemo(() => {