File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 11import { expect } from 'chai' ;
22import { createInstance } from '../../test/helpers' ;
3- import { spy , stub , type SinonSpy , type SinonStub } from 'sinon' ;
3+ import { spy , stub , type SinonSpy } from 'sinon' ;
44import type { DataService } from 'mongodb-data-service' ;
55import { setupInstance } from './instance' ;
66import type { RootState } from '.' ;
@@ -33,16 +33,13 @@ describe('sidebar instance', function () {
3333 } as any ;
3434 let instancesManager : MongoDBInstancesManager ;
3535 let logger : Logger ;
36- let listMongoDBInstancesStub : SinonStub ;
3736
3837 beforeEach ( async function ( ) {
3938 const preferences = await createSandboxFromDefaultPreferences ( ) ;
4039 instance = createInstance ( undefined , undefined , preferences ) ;
4140 instanceOnSpy = spy ( ) ;
4241 instance . on = instanceOnSpy ;
43- instancesManager = {
44- listMongoDBInstances : listMongoDBInstancesStub ,
45- } as any ;
42+ instancesManager = { } as any ;
4643 logger = {
4744 log : { warn ( ) { } } ,
4845 mongoLogId ( ) { } ,
You can’t perform that action at this time.
0 commit comments