MCPcopy Create free account
hub / github.com/block/buzz / pullRequestEvent

Function pullRequestEvent

desktop/src/features/projects/projectPullRequests.test.mjs:11–26  ·  view source on GitHub ↗
(overrides = {})

Source from the content-addressed store, hash-verified

9const REPO_ADDRESS = `30617:${OWNER}:demo`;
10
11function pullRequestEvent(overrides = {}) {
12 return {
13 id: "f".repeat(64),
14 kind: 1618,
15 pubkey: AUTHOR,
16 created_at: 100,
17 content: "Add feature\n\nDetails.",
18 tags: [
19 ["a", REPO_ADDRESS],
20 ["subject", "Add feature"],
21 ["c", "1111111111111111111111111111111111111111"],
22 ["clone", `https://relay.example/git/${OWNER}/demo`],
23 ],
24 ...overrides,
25 };
26}
27
28function updateEvent({ pubkey, createdAt, commit, cloneUrl }) {
29 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected