File tree Expand file tree Collapse file tree
packages/model/src/entities/EditorDocument Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,7 +83,10 @@ describe('EditorDocument', () => {
8383
8484 const newIdentifier = 'new-document-id' ;
8585
86- doc . initialize ( { identifier : newIdentifier , blocks : [ ] } ) ;
86+ doc . initialize ( {
87+ identifier : newIdentifier ,
88+ blocks : [ ] ,
89+ } ) ;
8790
8891 expect ( doc . identifier ) . toBe ( newIdentifier ) ;
8992 } ) ;
@@ -93,9 +96,15 @@ describe('EditorDocument', () => {
9396 identifier : 'document' ,
9497 } ) ;
9598
96- const properties = { readOnly : true , customProp : 'value' } ;
99+ const properties = {
100+ readOnly : true ,
101+ customProp : 'value' ,
102+ } ;
97103
98- doc . initialize ( { blocks : [ ] , properties } ) ;
104+ doc . initialize ( {
105+ blocks : [ ] ,
106+ properties,
107+ } ) ;
99108
100109 expect ( doc . getProperty ( 'readOnly' ) ) . toBe ( true ) ;
101110 expect ( doc . getProperty ( 'customProp' ) ) . toBe ( 'value' ) ;
You can’t perform that action at this time.
0 commit comments