Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fcab10c

Browse files
Update snapshots
1 parent 817d1fe commit fcab10c

File tree

4 files changed

+28
-12
lines changed

4 files changed

+28
-12
lines changed

‎__tests__/components/__snapshots__/Code.test.js.snap‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
exports[`<Code /> component renders ES5 code in LIGHT mode 1`] = `
44
<pre
5+
className="fixed"
56
style={
67
Object {
78
"background": "#fafafa",
89
"border": "1px solid #d8d8d8",
910
"color": "#383a42",
1011
"display": "block",
11-
"height": 375,
1212
"overflowX": "auto",
1313
"padding": "1em",
1414
}
@@ -22,13 +22,13 @@ exports[`<Code /> component renders ES5 code in LIGHT mode 1`] = `
2222

2323
exports[`<Code /> component renders ES6 code in DARK mode 1`] = `
2424
<pre
25+
className="fixed"
2526
style={
2627
Object {
2728
"background": "#282828",
2829
"border": "1px solid #555",
2930
"color": "#ebdbb2",
3031
"display": "block",
31-
"height": 375,
3232
"overflowX": "auto",
3333
"padding": "1em",
3434
}

‎__tests__/components/__snapshots__/Header.test.js.snap‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,15 @@ exports[`<Header /> component renders with DARK theme 1`] = `
147147
Game
148148
</span>
149149
<a
150+
aria-current={null}
151+
className="c3"
152+
href="/patterns"
153+
onClick={[Function]}
154+
>
155+
Pattern Reference
156+
</a>
157+
<a
158+
aria-current={null}
150159
className="c3"
151160
href="/about"
152161
onClick={[Function]}
@@ -369,6 +378,15 @@ exports[`<Header /> component renders with LIGHT theme 1`] = `
369378
Game
370379
</span>
371380
<a
381+
aria-current={null}
382+
className="c3"
383+
href="/patterns"
384+
onClick={[Function]}
385+
>
386+
Pattern Reference
387+
</a>
388+
<a
389+
aria-current={null}
372390
className="c3"
373391
href="/about"
374392
onClick={[Function]}

‎__tests__/pages/__snapshots__/Game.test.js.snap‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ exports[`Game page - GAME - DARK style renders a <Code /> component 1`] = `
2323
"border": "1px solid #555",
2424
"color": "#ebdbb2",
2525
"display": "block",
26-
"height": 375,
2726
"overflowX": "auto",
2827
"padding": "1em",
2928
},
@@ -165,6 +164,7 @@ exports[`Game page - GAME - DARK style renders a <Code /> component 1`] = `
165164
}
166165
>
167166
<SyntaxHighlighter
167+
className="fixed"
168168
language="javascript"
169169
style={
170170
Object {
@@ -173,7 +173,6 @@ exports[`Game page - GAME - DARK style renders a <Code /> component 1`] = `
173173
"border": "1px solid #555",
174174
"color": "#ebdbb2",
175175
"display": "block",
176-
"height": 375,
177176
"overflowX": "auto",
178177
"padding": "1em",
179178
},
@@ -315,13 +314,13 @@ exports[`Game page - GAME - DARK style renders a <Code /> component 1`] = `
315314
}
316315
>
317316
<pre
317+
className="fixed"
318318
style={
319319
Object {
320320
"background": "#282828",
321321
"border": "1px solid #555",
322322
"color": "#ebdbb2",
323323
"display": "block",
324-
"height": 375,
325324
"overflowX": "auto",
326325
"padding": "1em",
327326
}
@@ -481,7 +480,6 @@ exports[`Game page - GAME - LIGHT style renders a <Code /> component 1`] = `
481480
"border": "1px solid #d8d8d8",
482481
"color": "#383a42",
483482
"display": "block",
484-
"height": 375,
485483
"overflowX": "auto",
486484
"padding": "1em",
487485
},
@@ -594,6 +592,7 @@ exports[`Game page - GAME - LIGHT style renders a <Code /> component 1`] = `
594592
}
595593
>
596594
<SyntaxHighlighter
595+
className="fixed"
597596
language="javascript"
598597
style={
599598
Object {
@@ -602,7 +601,6 @@ exports[`Game page - GAME - LIGHT style renders a <Code /> component 1`] = `
602601
"border": "1px solid #d8d8d8",
603602
"color": "#383a42",
604603
"display": "block",
605-
"height": 375,
606604
"overflowX": "auto",
607605
"padding": "1em",
608606
},
@@ -715,13 +713,13 @@ exports[`Game page - GAME - LIGHT style renders a <Code /> component 1`] = `
715713
}
716714
>
717715
<pre
716+
className="fixed"
718717
style={
719718
Object {
720719
"background": "#fafafa",
721720
"border": "1px solid #d8d8d8",
722721
"color": "#383a42",
723722
"display": "block",
724-
"height": 375,
725723
"overflowX": "auto",
726724
"padding": "1em",
727725
}

‎__tests__/styles/__snapshots__/global.test.js.snap‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ exports[`Global style renders with a DARK theme 1`] = `
88
>
99
1010
11-
/* sc-component-id: sc-global-3505832014 */
12-
body{background:#222222;font-family:'Karla',sans-serif;margin:0;padding:0;} #root{-webkit-box-pack:start;-webkit-justify-content:start;-ms-flex-pack:start;justify-content:start;max-width:640px;margin:auto;padding:0 1rem;} @media (min-width:769px){#root{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:0;}}
11+
/* sc-component-id: sc-global-1470103548 */
12+
body{background:#222222;font-family:'Karla',sans-serif;margin:0;padding:0;} #root{-webkit-box-pack:start;-webkit-justify-content:start;-ms-flex-pack:start;justify-content:start;max-width:640px;margin:auto;padding:0 1rem 3rem;} @media (min-width:769px){#root{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:00 3rem;}} .fixed{height:375px;}
1313
</style>
1414
</head>
1515
`;
@@ -22,8 +22,8 @@ exports[`Global style renders with a LIGHT theme 1`] = `
2222
>
2323
2424
25-
/* sc-component-id: sc-global-3505832014 */
26-
body{background:#FFFFFF;font-family:'Karla',sans-serif;margin:0;padding:0;} #root{-webkit-box-pack:start;-webkit-justify-content:start;-ms-flex-pack:start;justify-content:start;max-width:640px;margin:auto;padding:0 1rem;} @media (min-width:769px){#root{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:0;}}
25+
/* sc-component-id: sc-global-1470103548 */
26+
body{background:#FFFFFF;font-family:'Karla',sans-serif;margin:0;padding:0;} #root{-webkit-box-pack:start;-webkit-justify-content:start;-ms-flex-pack:start;justify-content:start;max-width:640px;margin:auto;padding:0 1rem 3rem;} @media (min-width:769px){#root{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:00 3rem;}} .fixed{height:375px;}
2727
</style>
2828
</head>
2929
`;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /