(props: { inputId: string })
| 47 | const mockCommentInputProps = jest.fn(); |
| 48 | |
| 49 | const CommentInput = (props: { inputId: string }): React.ReactElement => { |
| 50 | mockCommentInputProps(props); |
| 51 | const { inputId } = props; |
| 52 | return <div data-testid="comment-input" id={inputId} tabIndex={-1} />; |
| 53 | }; |
| 54 | |
| 55 | describe('NewComment', () => { |
| 56 | const originalRequestAnimationFrame = window.requestAnimationFrame; |
nothing calls this directly
no outgoing calls
no test coverage detected