fix frontend SVG results and downloads
This commit is contained in:
@@ -17,6 +17,7 @@ def test_full_stack_product_contract():
|
||||
manifest = (ROOT / "a2a.yaml").read_text(encoding="utf-8")
|
||||
source = (ROOT / "agent.py").read_text(encoding="utf-8")
|
||||
frontend = (ROOT / "frontend" / "src" / "App.jsx").read_text(encoding="utf-8")
|
||||
frontend_client = (ROOT / "frontend" / "src" / "a2a.js").read_text(encoding="utf-8")
|
||||
|
||||
assert "frontend:" in manifest and "mount: /app" in manifest
|
||||
assert "public: false" in manifest
|
||||
@@ -26,6 +27,8 @@ def test_full_stack_product_contract():
|
||||
assert "AgentPlatformResources" in source and "AgentDatabase(" in source
|
||||
assert "Skill runner" not in frontend
|
||||
assert "generate_svg_asset" in frontend
|
||||
assert "Download SVG" in frontend
|
||||
assert "unwrapSkillResponse(payload)" in frontend_client
|
||||
assert "DATABASE_URL" not in frontend
|
||||
|
||||
migrations = list((ROOT / "db" / "migrations").glob("*.sql"))
|
||||
|
||||
Reference in New Issue
Block a user