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

Function createComment

apps/nextjs-app/src/testing/data-generators.ts:68–77  ·  view source on GitHub ↗
(
  overrides?: T & {
    authorId?: string;
    discussionId?: string;
  },
)

Source from the content-addressed store, hash-verified

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

Callers 1

smoke.spec.tsFile · 0.90

Calls 1

generateCommentFunction · 0.70

Tested by

no test coverage detected