Skip to content

Commit da236ed

Browse files
committed
chore: Fix linting
1 parent 228e2d1 commit da236ed

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

projects/stream-chat-angular/src/lib/attachment.service.spec.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import { Attachment } from 'stream-chat';
44
import { AttachmentService } from './attachment.service';
55
import { ChannelService } from './channel.service';
66
import { NotificationService } from './notification.service';
7-
import { AttachmentUpload } from './types';
7+
import { AttachmentUpload, DefaultStreamChatGenerics } from './types';
88

99
describe('AttachmentService', () => {
10-
let service: AttachmentService;
10+
let service: AttachmentService<DefaultStreamChatGenerics>;
1111
let uploadAttachmentsSpy: jasmine.Spy;
1212
let deleteAttachmentSpy: jasmine.Spy;
1313
let readAsDataURLSpy: jasmine.Spy;
@@ -31,7 +31,9 @@ describe('AttachmentService', () => {
3131
},
3232
],
3333
});
34-
service = TestBed.inject(AttachmentService);
34+
service = TestBed.inject(
35+
AttachmentService
36+
) as AttachmentService<DefaultStreamChatGenerics>;
3537
});
3638

3739
it('should delete attachment, if file is already uploaded', async () => {

0 commit comments

Comments
 (0)