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