feat/comments-merge/main #52

Merged
admin merged 10 commits from feat/comments-merge/main into master 2026-09-17 09:22:58 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 5ef25d3ee9 - Show all commits
+1 -1
View File
@@ -85,7 +85,7 @@ function routes(overrides = {}, { body = FULL_BODY, comments = [] } = {}) {
comments.forEach((c, i) => {
base[`GET /api/v1/repos/${REPO}/issues/comments/${100 + i}/reactions`] = {
status: 200,
body: (c.reactions ?? []).map((content) => ({ content })),
body: (c.reactions ?? []).map((content) => ({ content, user: { login: c.reactedBy ?? 'tester' } })),
};
});
return { ...base, ...overrides };
+1 -1
View File
@@ -106,7 +106,7 @@ function routes(overrides = {}, options = {}) {
comments.forEach((c, i) => {
base[`GET /api/v1/repos/${REPO}/issues/comments/${100 + i}/reactions`] = {
status: 200,
body: (c.reactions ?? []).map((content) => ({ content })),
body: (c.reactions ?? []).map((content) => ({ content, user: { login: c.reactedBy ?? 'tester' } })),
};
});
return { ...base, ...overrides };