A test component with hook defined. Returns: A test component.
()
| 112 | |
| 113 | @pytest.fixture |
| 114 | def 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 |
no outgoing calls
no test coverage detected