Skip to content

armgit / ARES

Public Imported from GitHub
0

ARES - authorized red-team engagement automation with dashboard, campaign scope, module orchestration, OPSEC controls, encrypted vault, and reporting.

test: align dashboard schema contract with feature split

Mafifrizic2b32f1a8f25
diff --git a/tests/unit/test_module_coverage.py b/tests/unit/test_module_coverage.py
index e6b18af..984b006 100644
--- a/tests/unit/test_module_coverage.py
+++ b/tests/unit/test_module_coverage.py
@@ -516,7 +516,7 @@ class TestDashboardModuleSchemaContracts:
from ares.modules.params import MODULE_PARAMS
- frontend = Path("frontend/src/App.tsx").read_text(encoding="utf-8")
+ frontend = Path("frontend/src/features/dashboard/DashboardPages.tsx").read_text(encoding="utf-8")
assert "Object.entries(schema ?? {})" in frontend
assert "field.required" in frontend
assert "required={field.required}" in frontend