Skip to content

Commit b0ff09b

Browse files
committed
Merge branch 'main' into refactor/fetch-issue-graphql
Signed-off-by: Adam Setch <[email protected]>
1 parent c4da59a commit b0ff09b

File tree

2 files changed

+30
-30
lines changed

2 files changed

+30
-30
lines changed

src/renderer/utils/notifications/handlers/issue.test.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ describe('renderer/utils/notifications/handlers/issue.ts', () => {
125125
title: 'PR Title',
126126
state: 'CLOSED',
127127
stateReason: 'COMPLETED',
128-
url: 'https://github.com/gitify-app/noticiation-test/issues/123',
128+
url: 'https://github.com/gitify-app/notifications-test/issues/123',
129129
author: mockAuthor,
130130
labels: { nodes: [] },
131131
comments: { totalCount: 0, nodes: [] },
@@ -147,7 +147,7 @@ describe('renderer/utils/notifications/handlers/issue.ts', () => {
147147
type: mockAuthor.type,
148148
},
149149
comments: 0,
150-
htmlUrl: 'https://github.com/gitify-app/noticiation-test/issues/123',
150+
htmlUrl: 'https://github.com/gitify-app/notifications-test/issues/123',
151151
labels: [],
152152
milestone: null,
153153
} as GitifySubject);
@@ -165,7 +165,7 @@ describe('renderer/utils/notifications/handlers/issue.ts', () => {
165165
title: 'PR Title',
166166
state: 'CLOSED',
167167
stateReason: 'NOT_PLANNED',
168-
url: 'https://github.com/gitify-app/noticiation-test/issues/123',
168+
url: 'https://github.com/gitify-app/notifications-test/issues/123',
169169
author: mockAuthor,
170170
labels: { nodes: [] },
171171
comments: { totalCount: 0, nodes: [] },
@@ -187,7 +187,7 @@ describe('renderer/utils/notifications/handlers/issue.ts', () => {
187187
type: mockAuthor.type,
188188
},
189189
comments: 0,
190-
htmlUrl: 'https://github.com/gitify-app/noticiation-test/issues/123',
190+
htmlUrl: 'https://github.com/gitify-app/notifications-test/issues/123',
191191
labels: [],
192192
milestone: null,
193193
} as GitifySubject);
@@ -205,7 +205,7 @@ describe('renderer/utils/notifications/handlers/issue.ts', () => {
205205
title: 'PR Title',
206206
state: 'OPEN',
207207
stateReason: 'REOPENED',
208-
url: 'https://github.com/gitify-app/noticiation-test/issues/123',
208+
url: 'https://github.com/gitify-app/notifications-test/issues/123',
209209
author: mockAuthor,
210210
labels: { nodes: [] },
211211
comments: { totalCount: 0, nodes: [] },
@@ -227,7 +227,7 @@ describe('renderer/utils/notifications/handlers/issue.ts', () => {
227227
type: mockAuthor.type,
228228
},
229229
comments: 0,
230-
htmlUrl: 'https://github.com/gitify-app/noticiation-test/issues/123',
230+
htmlUrl: 'https://github.com/gitify-app/notifications-test/issues/123',
231231
labels: [],
232232
milestone: null,
233233
} as GitifySubject);
@@ -244,7 +244,7 @@ describe('renderer/utils/notifications/handlers/issue.ts', () => {
244244
number: 123,
245245
title: 'PR Title',
246246
state: 'OPEN',
247-
url: 'https://github.com/gitify-app/noticiation-test/issues/123',
247+
url: 'https://github.com/gitify-app/notifications-test/issues/123',
248248
author: mockAuthor,
249249
labels: {
250250
nodes: [],
@@ -254,7 +254,7 @@ describe('renderer/utils/notifications/handlers/issue.ts', () => {
254254
nodes: [
255255
{
256256
author: mockCommenter,
257-
url: 'https://github.com/gitify-app/noticiation-test/issues/123#issuecomment-1234',
257+
url: 'https://github.com/gitify-app/notifications-test/issues/123#issuecomment-1234',
258258
},
259259
],
260260
},
@@ -277,7 +277,7 @@ describe('renderer/utils/notifications/handlers/issue.ts', () => {
277277
},
278278
comments: 1,
279279
htmlUrl:
280-
'https://github.com/gitify-app/noticiation-test/issues/123#issuecomment-1234',
280+
'https://github.com/gitify-app/notifications-test/issues/123#issuecomment-1234',
281281
labels: [],
282282
milestone: null,
283283
} as GitifySubject);
@@ -294,7 +294,7 @@ describe('renderer/utils/notifications/handlers/issue.ts', () => {
294294
number: 123,
295295
title: 'PR Title',
296296
state: 'OPEN',
297-
url: 'https://github.com/gitify-app/noticiation-test/issues/123',
297+
url: 'https://github.com/gitify-app/notifications-test/issues/123',
298298
author: mockAuthor,
299299
labels: {
300300
nodes: [
@@ -322,7 +322,7 @@ describe('renderer/utils/notifications/handlers/issue.ts', () => {
322322
type: mockAuthor.type,
323323
},
324324
comments: 0,
325-
htmlUrl: 'https://github.com/gitify-app/noticiation-test/issues/123',
325+
htmlUrl: 'https://github.com/gitify-app/notifications-test/issues/123',
326326
labels: ['enhancement'],
327327
milestone: null,
328328
} as GitifySubject);
@@ -339,7 +339,7 @@ describe('renderer/utils/notifications/handlers/issue.ts', () => {
339339
number: 123,
340340
title: 'PR Title',
341341
state: 'OPEN',
342-
url: 'https://github.com/gitify-app/noticiation-test/issues/123',
342+
url: 'https://github.com/gitify-app/notifications-test/issues/123',
343343
author: mockAuthor,
344344
labels: {
345345
nodes: [],
@@ -366,7 +366,7 @@ describe('renderer/utils/notifications/handlers/issue.ts', () => {
366366
type: mockAuthor.type,
367367
},
368368
comments: 0,
369-
htmlUrl: 'https://github.com/gitify-app/noticiation-test/issues/123',
369+
htmlUrl: 'https://github.com/gitify-app/notifications-test/issues/123',
370370
labels: [],
371371
milestone: {
372372
state: 'OPEN',

src/renderer/utils/notifications/handlers/pullRequest.test.ts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => {
5555
isDraft: false,
5656
merged: false,
5757
isInMergeQueue: false,
58-
url: 'https://github.com/gitify-app/noticiation-test/pulls/123',
58+
url: 'https://github.com/gitify-app/notifications-test/pulls/123',
5959
author: mockAuthor,
6060
labels: null,
6161
comments: {
@@ -94,7 +94,7 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => {
9494
linkedIssues: [],
9595
comments: 0,
9696
milestone: null,
97-
htmlUrl: 'https://github.com/gitify-app/noticiation-test/pulls/123',
97+
htmlUrl: 'https://github.com/gitify-app/notifications-test/pulls/123',
9898
} as GitifySubject);
9999
});
100100

@@ -112,7 +112,7 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => {
112112
isDraft: false,
113113
merged: false,
114114
isInMergeQueue: false,
115-
url: 'https://github.com/gitify-app/noticiation-test/pulls/123',
115+
url: 'https://github.com/gitify-app/notifications-test/pulls/123',
116116
author: mockAuthor,
117117
labels: null,
118118
comments: {
@@ -151,7 +151,7 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => {
151151
linkedIssues: [],
152152
comments: 0,
153153
milestone: null,
154-
htmlUrl: 'https://github.com/gitify-app/noticiation-test/pulls/123',
154+
htmlUrl: 'https://github.com/gitify-app/notifications-test/pulls/123',
155155
} as GitifySubject);
156156
});
157157

@@ -169,7 +169,7 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => {
169169
isDraft: true,
170170
merged: false,
171171
isInMergeQueue: false,
172-
url: 'https://github.com/gitify-app/noticiation-test/pulls/123',
172+
url: 'https://github.com/gitify-app/notifications-test/pulls/123',
173173
author: mockAuthor,
174174
labels: null,
175175
comments: {
@@ -208,7 +208,7 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => {
208208
linkedIssues: [],
209209
comments: 0,
210210
milestone: null,
211-
htmlUrl: 'https://github.com/gitify-app/noticiation-test/pulls/123',
211+
htmlUrl: 'https://github.com/gitify-app/notifications-test/pulls/123',
212212
} as GitifySubject);
213213
});
214214

@@ -226,7 +226,7 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => {
226226
isDraft: false,
227227
merged: true,
228228
isInMergeQueue: false,
229-
url: 'https://github.com/gitify-app/noticiation-test/pulls/123',
229+
url: 'https://github.com/gitify-app/notifications-test/pulls/123',
230230
author: mockAuthor,
231231
labels: null,
232232
comments: {
@@ -265,7 +265,7 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => {
265265
linkedIssues: [],
266266
comments: 0,
267267
milestone: null,
268-
htmlUrl: 'https://github.com/gitify-app/noticiation-test/pulls/123',
268+
htmlUrl: 'https://github.com/gitify-app/notifications-test/pulls/123',
269269
} as GitifySubject);
270270
});
271271

@@ -283,7 +283,7 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => {
283283
isDraft: false,
284284
merged: false,
285285
isInMergeQueue: false,
286-
url: 'https://github.com/gitify-app/noticiation-test/pulls/123',
286+
url: 'https://github.com/gitify-app/notifications-test/pulls/123',
287287
author: mockAuthor,
288288
labels: {
289289
nodes: [{ name: 'enhancement' }],
@@ -293,7 +293,7 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => {
293293
nodes: [
294294
{
295295
author: mockCommenter,
296-
url: 'https://github.com/gitify-app/noticiation-test/pulls/123#issuecomment-1234',
296+
url: 'https://github.com/gitify-app/notifications-test/pulls/123#issuecomment-1234',
297297
},
298298
],
299299
},
@@ -330,7 +330,7 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => {
330330
comments: 1,
331331
milestone: null,
332332
htmlUrl:
333-
'https://github.com/gitify-app/noticiation-test/pulls/123#issuecomment-1234',
333+
'https://github.com/gitify-app/notifications-test/pulls/123#issuecomment-1234',
334334
} as GitifySubject);
335335
});
336336

@@ -348,7 +348,7 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => {
348348
isDraft: false,
349349
merged: false,
350350
isInMergeQueue: false,
351-
url: 'https://github.com/gitify-app/noticiation-test/pulls/123',
351+
url: 'https://github.com/gitify-app/notifications-test/pulls/123',
352352
author: mockAuthor,
353353
labels: {
354354
nodes: [{ name: 'enhancement' }],
@@ -389,7 +389,7 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => {
389389
linkedIssues: [],
390390
comments: 0,
391391
milestone: null,
392-
htmlUrl: 'https://github.com/gitify-app/noticiation-test/pulls/123',
392+
htmlUrl: 'https://github.com/gitify-app/notifications-test/pulls/123',
393393
} as GitifySubject);
394394
});
395395

@@ -407,7 +407,7 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => {
407407
isDraft: false,
408408
merged: false,
409409
isInMergeQueue: false,
410-
url: 'https://github.com/gitify-app/noticiation-test/pulls/123',
410+
url: 'https://github.com/gitify-app/notifications-test/pulls/123',
411411
author: mockAuthor,
412412
labels: null,
413413
comments: {
@@ -450,7 +450,7 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => {
450450
linkedIssues: ['#789'],
451451
comments: 0,
452452
milestone: null,
453-
htmlUrl: 'https://github.com/gitify-app/noticiation-test/pulls/123',
453+
htmlUrl: 'https://github.com/gitify-app/notifications-test/pulls/123',
454454
} as GitifySubject);
455455
});
456456

@@ -468,7 +468,7 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => {
468468
isDraft: false,
469469
merged: false,
470470
isInMergeQueue: false,
471-
url: 'https://github.com/gitify-app/noticiation-test/pulls/123',
471+
url: 'https://github.com/gitify-app/notifications-test/pulls/123',
472472
author: mockAuthor,
473473
labels: {
474474
nodes: [],
@@ -515,7 +515,7 @@ describe('renderer/utils/notifications/handlers/pullRequest.ts', () => {
515515
state: 'OPEN',
516516
title: 'Open Milestone',
517517
},
518-
htmlUrl: 'https://github.com/gitify-app/noticiation-test/pulls/123',
518+
htmlUrl: 'https://github.com/gitify-app/notifications-test/pulls/123',
519519
} as GitifySubject);
520520
});
521521
});

0 commit comments

Comments
 (0)