Skip to main content
Glama
test_container.py905 B
""" Tests for Container template generation. """ from ..conftest import ( assert_has_interface, assert_has_timing_props, assert_has_visibility_check, assert_valid_typescript, ) class TestContainerBasic: """Basic Container generation tests.""" def test_basic_generation(self, component_builder, theme_name): """Test basic Container generation.""" tsx = component_builder.build_component("Container", {}, theme_name) assert tsx is not None assert "Container" in tsx assert_valid_typescript(tsx) assert_has_interface(tsx, "Container") assert_has_timing_props(tsx) assert_has_visibility_check(tsx) def test_children_handling(self, component_builder, theme_name): """Test handles children.""" tsx = component_builder.build_component("Container", {}, theme_name) assert "children" in tsx

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrishayuk/chuk-mcp-remotion'

If you have feedback or need assistance with the MCP directory API, please join our Discord server