File tree Expand file tree Collapse file tree 1 file changed +40
-10
lines changed
__tests__/pages/__snapshots__ Expand file tree Collapse file tree 1 file changed +40
-10
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ exports[`Game page - GAME - DARK style renders a <Code /> component 1`] = `
164164 }
165165>
166166 <SyntaxHighlighter
167+ PreTag = { [Function ]}
167168 className = " fixed"
168169 language = " javascript"
169170 style = {
@@ -313,7 +314,7 @@ exports[`Game page - GAME - DARK style renders a <Code /> component 1`] = `
313314 }
314315 }
315316 >
316- <pre
317+ <CodePreTag
317318 className = " fixed"
318319 style = {
319320 Object {
@@ -326,10 +327,24 @@ exports[`Game page - GAME - DARK style renders a <Code /> component 1`] = `
326327 }
327328 }
328329 >
329- <code >
330- Code ES5 - Prototype
331- </code >
332- </pre >
330+ <pre
331+ className = " fixed"
332+ style = {
333+ Object {
334+ " background" : " #282828" ,
335+ " border" : " 1px solid #555" ,
336+ " color" : " #ebdbb2" ,
337+ " display" : " block" ,
338+ " overflowX" : " auto" ,
339+ " padding" : " 1em" ,
340+ }
341+ }
342+ >
343+ <code >
344+ Code ES5 - Prototype
345+ </code >
346+ </pre >
347+ </CodePreTag >
333348 </SyntaxHighlighter >
334349</Code >
335350` ;
@@ -592,6 +607,7 @@ exports[`Game page - GAME - LIGHT style renders a <Code /> component 1`] = `
592607 }
593608>
594609 <SyntaxHighlighter
610+ PreTag = { [Function ]}
595611 className = " fixed"
596612 language = " javascript"
597613 style = {
@@ -712,7 +728,7 @@ exports[`Game page - GAME - LIGHT style renders a <Code /> component 1`] = `
712728 }
713729 }
714730 >
715- <pre
731+ <CodePreTag
716732 className = " fixed"
717733 style = {
718734 Object {
@@ -725,10 +741,24 @@ exports[`Game page - GAME - LIGHT style renders a <Code /> component 1`] = `
725741 }
726742 }
727743 >
728- <code >
729- Code ES5 - Prototype
730- </code >
731- </pre >
744+ <pre
745+ className = " fixed"
746+ style = {
747+ Object {
748+ " background" : " #fafafa" ,
749+ " border" : " 1px solid #d8d8d8" ,
750+ " color" : " #383a42" ,
751+ " display" : " block" ,
752+ " overflowX" : " auto" ,
753+ " padding" : " 1em" ,
754+ }
755+ }
756+ >
757+ <code >
758+ Code ES5 - Prototype
759+ </code >
760+ </pre >
761+ </CodePreTag >
732762 </SyntaxHighlighter >
733763</Code >
734764` ;
You can’t perform that action at this time.
0 commit comments