@@ -190,10 +228,8 @@ export function WorkspaceClient({ deviceId }: WorkspaceClientProps) {
-
- {/* 塊 2 補:接 WS `inference:` → ClassificationResult + PerformanceMetrics + overlay */}
- {t("workspace.inference.panelPending")}
-
+ {/* 塊 2:接 WS `inference:` → 效能指標 + 結果清單 */}
+
diff --git a/visionA-frontend/src/components/workspace/camera-overlay.test.tsx b/visionA-frontend/src/components/workspace/camera-overlay.test.tsx
new file mode 100644
index 0000000..b39ce3e
--- /dev/null
+++ b/visionA-frontend/src/components/workspace/camera-overlay.test.tsx
@@ -0,0 +1,198 @@
+/**
+ * CameraOverlay 單元測試(塊 2 + 塊 2-review 修正)
+ *
+ * jsdom 無 canvas 2D 實作 → mock getContext 回傳 spy ctx,斷言繪製呼叫。
+ * (jsdom 的 getComputedStyle 對 CSS 自訂變數回空字串 → palette 走 fallback,測試不受影響。)
+ *
+ * 驗證:
+ * - render