File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
projects/stream-chat-angular/src/lib Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ import { Attachment } from 'stream-chat';
44import { AttachmentService } from './attachment.service' ;
55import { ChannelService } from './channel.service' ;
66import { NotificationService } from './notification.service' ;
7- import { AttachmentUpload } from './types' ;
7+ import { AttachmentUpload , DefaultStreamChatGenerics } from './types' ;
88
99describe ( '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 ( ) => {
You can’t perform that action at this time.
0 commit comments