File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
src/plugins/dashboard/public/application/actions Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -69,16 +69,15 @@ beforeEach(async () => {
6969
7070 if ( isErrorEmbeddable ( contactCardEmbeddable ) ) {
7171 throw new Error ( 'Failed to create embeddable' ) ;
72- } else {
73- embeddable = embeddablePluginMock . mockRefOrValEmbeddable <
74- ContactCardEmbeddable ,
75- ContactCardEmbeddableInput
76- > ( contactCardEmbeddable , {
77- mockedByReferenceInput : { savedObjectId : 'testSavedObjectId' , id : contactCardEmbeddable . id } ,
78- mockedByValueInput : { firstName : 'Kibanana' , id : contactCardEmbeddable . id } ,
79- } ) ;
80- embeddable . updateInput ( { viewMode : ViewMode . EDIT } ) ;
8172 }
73+ embeddable = embeddablePluginMock . mockRefOrValEmbeddable <
74+ ContactCardEmbeddable ,
75+ ContactCardEmbeddableInput
76+ > ( contactCardEmbeddable , {
77+ mockedByReferenceInput : { savedObjectId : 'testSavedObjectId' , id : contactCardEmbeddable . id } ,
78+ mockedByValueInput : { firstName : 'Kibanana' , id : contactCardEmbeddable . id } ,
79+ } ) ;
80+ embeddable . updateInput ( { viewMode : ViewMode . EDIT } ) ;
8281} ) ;
8382
8483test ( 'Unlink is compatible when embeddable on dashboard has reference type input' , async ( ) => {
You can’t perform that action at this time.
0 commit comments