@@ -185,7 +185,7 @@ describe('document-api story: inline formatting', () => {
185185 const result = unwrap < any > (
186186 await client . doc . format . paragraph . setAlignment ( { sessionId : sid , target, alignment : 'center' } ) ,
187187 ) ;
188- expect ( result . receipt ?. success ) . toBe ( true ) ;
188+ expect ( result . success ) . toBe ( true ) ;
189189 await saveResult ( sid , 'align-center.docx' ) ;
190190 } ) ;
191191
@@ -196,7 +196,7 @@ describe('document-api story: inline formatting', () => {
196196 const result = unwrap < any > (
197197 await client . doc . format . paragraph . setAlignment ( { sessionId : sid , target, alignment : 'right' } ) ,
198198 ) ;
199- expect ( result . receipt ?. success ) . toBe ( true ) ;
199+ expect ( result . success ) . toBe ( true ) ;
200200 await saveResult ( sid , 'align-right.docx' ) ;
201201 } ) ;
202202
@@ -210,7 +210,7 @@ describe('document-api story: inline formatting', () => {
210210 const result = unwrap < any > (
211211 await client . doc . format . paragraph . setAlignment ( { sessionId : sid , target, alignment : 'justify' } ) ,
212212 ) ;
213- expect ( result . receipt ?. success ) . toBe ( true ) ;
213+ expect ( result . success ) . toBe ( true ) ;
214214 await saveResult ( sid , 'align-justify.docx' ) ;
215215 } ) ;
216216
0 commit comments