Skip to main content
Glama
test_splitscreen.py.old1.09 kB
""" Tests for SplitScreen layout template generation. """ import pytest from ..conftest import ( assert_valid_typescript, assert_has_interface, assert_has_timing_props, assert_has_visibility_check ) class TestSplitScreenBasic: """Basic SplitScreen generation tests.""" def test_basic_generation(self, component_builder, theme_name): """Test basic SplitScreen generation.""" tsx = component_builder.build_component( 'SplitScreen', {}, theme_name ) assert tsx is not None assert 'SplitScreen' in tsx assert_valid_typescript(tsx) assert_has_interface(tsx, 'SplitScreen') assert_has_timing_props(tsx) assert_has_visibility_check(tsx) def test_named_props(self, component_builder, theme_name): """Test uses named props (leftPanel, rightPanel).""" tsx = component_builder.build_component( 'SplitScreen', {}, theme_name ) assert 'leftPanel' in tsx assert 'rightPanel' 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