@@ -18,8 +18,8 @@ suite('DeepnoteActivationService', () => {
1818
1919 manager = new DeepnoteNotebookManager ( ) ;
2020 mockIntegrationManager = {
21- activate : ( ) => Promise . resolve ( )
22- } as any ;
21+ activate : ( ) => { }
22+ } ;
2323 activationService = new DeepnoteActivationService ( mockExtensionContext , manager , mockIntegrationManager ) ;
2424 } ) ;
2525
@@ -80,8 +80,8 @@ suite('DeepnoteActivationService', () => {
8080
8181 const manager1 = new DeepnoteNotebookManager ( ) ;
8282 const manager2 = new DeepnoteNotebookManager ( ) ;
83- const mockIntegrationManager1 = { activate : ( ) => Promise . resolve ( ) } as any ;
84- const mockIntegrationManager2 = { activate : ( ) => Promise . resolve ( ) } as any ;
83+ const mockIntegrationManager1 : IIntegrationManager = { activate : ( ) => { } } ;
84+ const mockIntegrationManager2 : IIntegrationManager = { activate : ( ) => { } } ;
8585 const service1 = new DeepnoteActivationService ( context1 , manager1 , mockIntegrationManager1 ) ;
8686 const service2 = new DeepnoteActivationService ( context2 , manager2 , mockIntegrationManager2 ) ;
8787
@@ -108,8 +108,8 @@ suite('DeepnoteActivationService', () => {
108108
109109 const manager1 = new DeepnoteNotebookManager ( ) ;
110110 const manager2 = new DeepnoteNotebookManager ( ) ;
111- const mockIntegrationManager1 = { activate : ( ) => Promise . resolve ( ) } as any ;
112- const mockIntegrationManager2 = { activate : ( ) => Promise . resolve ( ) } as any ;
111+ const mockIntegrationManager1 : IIntegrationManager = { activate : ( ) => { } } ;
112+ const mockIntegrationManager2 : IIntegrationManager = { activate : ( ) => { } } ;
113113 new DeepnoteActivationService ( context1 , manager1 , mockIntegrationManager1 ) ;
114114 new DeepnoteActivationService ( context2 , manager2 , mockIntegrationManager2 ) ;
115115
0 commit comments