We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb4d560 commit 9cc842dCopy full SHA for 9cc842d
1 file changed
src/renderer/utils/api/client.test.ts
@@ -125,6 +125,8 @@ describe('renderer/utils/api/client.ts', () => {
125
});
126
127
it('should unpaginate notifications list for user', async () => {
128
+ performAuthenticatedRESTRequestSpy.mockImplementation();
129
+
130
const mockSettings: Partial<SettingsState> = {
131
participating: false,
132
fetchReadNotifications: false,
@@ -138,7 +140,7 @@ describe('renderer/utils/api/client.ts', () => {
138
140
139
141
expect(performAuthenticatedRESTRequestSpy).toHaveBeenCalledWith(
142
'GET',
- 'https://api.github.com/notifications?participating=false&all=false ',
143
+ 'https://api.github.com/notifications?participating=false&all=false',
144
mockGitHubCloudAccount.token,
145
{},
146
true,
0 commit comments