File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,18 @@ describe("check sync", () => {
2424
2525 it ( "should have rendered mermaid diagram" , async ( ) => {
2626 const pageContent = await getReadmePageBody ( ) ;
27- expect ( pageContent ) . toEqual ( expect . stringContaining ( '<img class="confluence-embedded-image"' ) ) ;
28- expect ( pageContent ) . toEqual ( expect . stringContaining ( 'data-linked-resource-type="attachment"' ) ) ;
29- expect ( pageContent ) . toEqual ( expect . stringMatching ( / d a t a - l i n k e d - r e s o u r c e - d e f a u l t - a l i a s = " a u t o g e n e r a t e d - ( \S ) * \. s v g " / ) ) ;
27+
28+ expect ( pageContent ) . toEqual (
29+ expect . stringContaining ( '<img class="confluence-embedded-image"' ) ,
30+ ) ;
31+ expect ( pageContent ) . toEqual (
32+ expect . stringContaining ( 'data-linked-resource-type="attachment"' ) ,
33+ ) ;
34+ expect ( pageContent ) . toEqual (
35+ expect . stringMatching (
36+ / d a t a - l i n k e d - r e s o u r c e - d e f a u l t - a l i a s = " a u t o g e n e r a t e d - ( \S ) * \. s v g " / ,
37+ ) ,
38+ ) ;
3039 } ) ;
3140
3241 it ( "should have one child" , async ( ) => {
You can’t perform that action at this time.
0 commit comments