MCPcopy Create free account
hub / github.com/dot-agent/nextpy / component4

Function component4

tests/components/test_component.py:114–125  ·  view source on GitHub ↗

A test component with hook defined. Returns: A test component.

()

Source from the content-addressed store, hash-verified

112
113@pytest.fixture
114def component4() -> Type[Component]:
115 """A test component with hook defined.
116
117 Returns:
118 A test component.
119 """
120
121 class TestComponent4(Component):
122 def _get_hooks(self) -> str:
123 return "const b = () => false"
124
125 return TestComponent4
126
127
128@pytest.fixture

Callers 1

test_get_hooks_nested2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected