File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/compass-data-modeling/src/components Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import {
1717 selectRelationship ,
1818} from '../store/diagram' ;
1919import dataModel from '../../test/fixtures/data-model-with-relationships.json' ;
20+ import type { MongoDBDataModelDescription } from '../services/data-model-storage' ;
2021
2122async function comboboxSelectItem (
2223 label : string ,
@@ -36,15 +37,17 @@ async function comboboxSelectItem(
3637 } ) ;
3738}
3839
39- describe . only ( 'DiagramEditorSidePanel' , function ( ) {
40+ describe ( 'DiagramEditorSidePanel' , function ( ) {
4041 function renderDrawer ( ) {
4142 const { renderWithConnections } = createPluginTestHelpers (
4243 DataModelingWorkspaceTab . provider . withMockServices ( { } )
4344 ) ;
4445 const result = renderWithConnections (
4546 < DiagramEditorSidePanel > </ DiagramEditorSidePanel >
4647 ) ;
47- result . plugin . store . dispatch ( openDiagram ( dataModel ) ) ;
48+ result . plugin . store . dispatch (
49+ openDiagram ( dataModel as MongoDBDataModelDescription )
50+ ) ;
4851 return result ;
4952 }
5053
You can’t perform that action at this time.
0 commit comments