Skip to content

Commit 7884599

Browse files
committed
Removed few last console log checks.
1 parent cbffc01 commit 7884599

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/attachments-streaming/attachments-streaming-pool.test.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,6 @@ describe(AttachmentsStreamingPool.name, () => {
149149

150150
expect(result).toEqual({});
151151
expect(mockAdapter.processAttachment).not.toHaveBeenCalled();
152-
expect(console.log).toHaveBeenCalledWith(
153-
'Starting download of 0 attachments, streaming 10 at once.'
154-
);
155152
});
156153

157154
it('should return delay when rate limit is hit', async () => {
@@ -183,9 +180,6 @@ describe(AttachmentsStreamingPool.name, () => {
183180

184181
await pool.streamAll();
185182

186-
expect(console.log).toHaveBeenCalledWith(
187-
'Attachment with ID attachment-1 has already been processed. Skipping.'
188-
);
189183
expect(mockAdapter.processAttachment).toHaveBeenCalledTimes(2); // Only 2 out of 3
190184
});
191185

@@ -205,10 +199,6 @@ describe(AttachmentsStreamingPool.name, () => {
205199
'attachment-2',
206200
'attachment-3'
207201
]);
208-
209-
expect(console.log).toHaveBeenCalledWith('Successfully processed attachment: attachment-1');
210-
expect(console.log).toHaveBeenCalledWith('Successfully processed attachment: attachment-2');
211-
expect(console.log).toHaveBeenCalledWith('Successfully processed attachment: attachment-3');
212202
});
213203

214204
it('should handle processing errors gracefully', async () => {

0 commit comments

Comments
 (0)