MCPcopy Create free account
hub / github.com/dailydotdev/apps / CommentInput

Function CommentInput

packages/shared/src/components/post/NewComment.spec.tsx:49–53  ·  view source on GitHub ↗
(props: { inputId: string })

Source from the content-addressed store, hash-verified

47const mockCommentInputProps = jest.fn();
48
49const 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
55describe('NewComment', () => {
56 const originalRequestAnimationFrame = window.requestAnimationFrame;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected