@@ -33,7 +33,7 @@ describe('buildThemeFrontMatter', () => {
3333 expect ( result ) . toContain ( 'config:' ) ;
3434 expect ( result ) . toContain ( ' theme: base' ) ;
3535 expect ( result ) . toContain ( ' themeVariables:' ) ;
36- expect ( result ) . toContain ( " fontFamily: -apple-system, BlinkMacSystemFont, 'Segoe WPC', 'Segoe UI', system-ui, 'Ubuntu', sans-serif" ) ;
36+ expect ( result ) . toContain ( ' fontFamily: -apple-system, BlinkMacSystemFont, \ 'Segoe WPC\ ', \ 'Segoe UI\ ', system-ui, \ 'Ubuntu\ ', sans-serif' ) ;
3737 expect ( result ) . toMatch ( / ^ - - - \n .* \n - - - $ / s) ;
3838 } ) ;
3939
@@ -130,7 +130,7 @@ describe('buildThemeFrontMatter', () => {
130130
131131 const result = buildThemeFrontMatter ( theme ) ;
132132
133- expect ( result ) . toContain ( " edgeLabelBackground: '#f0f0f0'" ) ;
133+ expect ( result ) . toContain ( ' edgeLabelBackground: \ '#f0f0f0\'' ) ;
134134 } ) ;
135135
136136 it ( 'should include lineColor when specified' , ( ) => {
@@ -162,7 +162,7 @@ describe('buildThemeFrontMatter', () => {
162162
163163 const result = buildThemeFrontMatter ( theme ) ;
164164
165- expect ( result ) . toContain ( " lineColor: '#333333'" ) ;
165+ expect ( result ) . toContain ( ' lineColor: \ '#333333\'' ) ;
166166 } ) ;
167167
168168 it ( 'should include all base theme variables when specified' , ( ) => {
@@ -199,8 +199,8 @@ describe('buildThemeFrontMatter', () => {
199199
200200 expect ( result ) . toContain ( ' darkMode: false' ) ;
201201 expect ( result ) . toContain ( ' fontSize: 14px' ) ;
202- expect ( result ) . toContain ( " edgeLabelBackground: '#ffffff'" ) ;
203- expect ( result ) . toContain ( " lineColor: '#000000'" ) ;
202+ expect ( result ) . toContain ( ' edgeLabelBackground: \ '#ffffff\'' ) ;
203+ expect ( result ) . toContain ( ' lineColor: \ '#000000\'' ) ;
204204 } ) ;
205205
206206 it ( 'should return valid YAML format' , ( ) => {
0 commit comments