File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/compass/src/app/components Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11import React , { type ComponentProps } from 'react' ;
22import { expect } from 'chai' ;
33import sinon from 'sinon' ;
4- import { ThemedHome } from './home' ;
4+ import ThemedHome from './home' ;
55import type { DataService } from 'mongodb-data-service' ;
66import { WithAtlasProviders } from './entrypoint' ;
77import {
@@ -13,6 +13,7 @@ import {
1313} from '@mongodb-js/testing-library-compass' ;
1414import type { AllPreferences } from 'compass-preferences-model/provider' ;
1515import type { ConnectionInfo } from '@mongodb-js/compass-connections/provider' ;
16+ import { InMemoryConnectionStorage } from '@mongodb-js/connection-storage/provider' ;
1617
1718const createDataService = ( ) =>
1819 ( {
@@ -48,6 +49,7 @@ const HOME_PROPS = {
4849 showSettings : ( ) => { } ,
4950 getAutoConnectInfo : ( ) => Promise . resolve ( undefined ) ,
5051 showWelcomeModal : false ,
52+ connectionStorage : new InMemoryConnectionStorage ( ) ,
5153} as const ;
5254
5355describe ( 'Home [Component]' , function ( ) {
You can’t perform that action at this time.
0 commit comments