MCPcopy Create free account
hub / github.com/alan2207/bulletproof-react / createComment

Function createComment

apps/react-vite/src/testing/data-generators.ts:67–76  ·  view source on GitHub ↗
(
  overrides?: T & {
    authorId?: string;
    discussionId?: string;
  },
)

Source from the content-addressed store, hash-verified

65});
66
67export const createComment = <
68 T extends Partial<ReturnType<typeof generateComment>>,
69>(
70 overrides?: T & {
71 authorId?: string;
72 discussionId?: string;
73 },
74) => {
75 return { ...generateComment(), ...overrides };
76};

Callers 1

smoke.spec.tsFile · 0.90

Calls 1

generateCommentFunction · 0.70

Tested by

no test coverage detected