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

Function component3

tests/components/test_component.py:99–110  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

97
98@pytest.fixture
99def component3() -> Type[Component]:
100 """A test component with hook defined.
101
102 Returns:
103 A test component.
104 """
105
106 class TestComponent3(Component):
107 def _get_hooks(self) -> str:
108 return "const a = () => true"
109
110 return TestComponent3
111
112
113@pytest.fixture

Callers 2

test_get_hooks_nestedFunction · 0.85
test_get_hooks_nested2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected