chore: remove legacy Vite frontend

This commit is contained in:
Jesse_Chen
2026-07-20 11:02:41 +08:00
parent ee353440ed
commit 751237cb32
90 changed files with 141 additions and 40872 deletions
-11
View File
@@ -49,14 +49,3 @@ def test_api_prashna_rejects_client_planets_and_computes_context():
assert result["prashna_context"]["chart_source"] == "swiss_ephemeris_backend"
with pytest.raises(BadRequest, match="forbidden"):
handler._compute_prashna({**body, "planets": {"Sun": 0}})
def test_web_prashna_collects_question_context_not_natal_chart():
source = (ROOT / "jyotish-app" / "main.js").read_text(encoding="utf-8")
markup = (ROOT / "jyotish-app" / "index.html").read_text(encoding="utf-8")
assert "question_timestamp: timestamp.value" in source
assert "planets: chartData?.planets" not in source
assert "asc_degree: chartData?.ascendant" not in source
for field in ("prashna-timestamp", "prashna-lat", "prashna-lon", "prashna-timezone"):
assert field in markup