Skip to content

Commit 883aada

Browse files
committed
Update snapshots
1 parent 73f60f1 commit 883aada

File tree

2 files changed

+37
-42
lines changed

2 files changed

+37
-42
lines changed

src/components/__snapshots__/code-pane.test.js.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ exports[`<CodePane /> should render correctly. 1`] = `
106106
}
107107
}
108108
onClick={undefined}
109+
onCompositionEnd={undefined}
110+
onCompositionStart={undefined}
109111
onKeyDown={undefined}
110112
onKeyUp={undefined}
111113
spellCheck="false"

src/components/__snapshots__/component-playground.test.js.snap

Lines changed: 35 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
exports[`<ComponentPlayground /> Should render the dark theme correctly 1`] = `
44
<div
55
class="react-live css-o32omv"
6-
scope="[object Object]"
76
>
87
<div
98
class="css-qtztkt"
@@ -200,13 +199,7 @@ exports[`<ComponentPlayground /> Should render the dark theme correctly 1`] = `
200199
>
201200
const
202201
</span>
203-
204-
<span
205-
class="token function-variable function"
206-
>
207-
HelloWorld
208-
</span>
209-
202+
HelloWorld
210203
<span
211204
class="token operator"
212205
>
@@ -238,7 +231,12 @@ exports[`<ComponentPlayground /> Should render the dark theme correctly 1`] = `
238231
<span
239232
class="token operator"
240233
>
241-
=&gt;
234+
=
235+
</span>
236+
<span
237+
class="token operator"
238+
>
239+
&gt;
242240
</span>
243241
244242
<span
@@ -541,7 +539,6 @@ exports[`<ComponentPlayground /> Should render the dark theme correctly 1`] = `
541539
exports[`<ComponentPlayground /> Should render the light theme correctly 1`] = `
542540
<div
543541
class="react-live css-o32omv"
544-
scope="[object Object]"
545542
>
546543
<div
547544
class="css-qtztkt"
@@ -738,13 +735,7 @@ exports[`<ComponentPlayground /> Should render the light theme correctly 1`] = `
738735
>
739736
const
740737
</span>
741-
742-
<span
743-
class="token function-variable function"
744-
>
745-
HelloWorld
746-
</span>
747-
738+
HelloWorld
748739
<span
749740
class="token operator"
750741
>
@@ -776,7 +767,12 @@ exports[`<ComponentPlayground /> Should render the light theme correctly 1`] = `
776767
<span
777768
class="token operator"
778769
>
779-
=&gt;
770+
=
771+
</span>
772+
<span
773+
class="token operator"
774+
>
775+
&gt;
780776
</span>
781777
782778
<span
@@ -1079,7 +1075,6 @@ exports[`<ComponentPlayground /> Should render the light theme correctly 1`] = `
10791075
exports[`<ComponentPlayground /> Should render with a custom background color 1`] = `
10801076
<div
10811077
class="react-live css-o32omv"
1082-
scope="[object Object]"
10831078
>
10841079
<div
10851080
class="css-qtztkt"
@@ -1276,13 +1271,7 @@ exports[`<ComponentPlayground /> Should render with a custom background color 1`
12761271
>
12771272
const
12781273
</span>
1279-
1280-
<span
1281-
class="token function-variable function"
1282-
>
1283-
HelloWorld
1284-
</span>
1285-
1274+
HelloWorld
12861275
<span
12871276
class="token operator"
12881277
>
@@ -1314,7 +1303,12 @@ exports[`<ComponentPlayground /> Should render with a custom background color 1`
13141303
<span
13151304
class="token operator"
13161305
>
1317-
=&gt;
1306+
=
1307+
</span>
1308+
<span
1309+
class="token operator"
1310+
>
1311+
&gt;
13181312
</span>
13191313
13201314
<span
@@ -1617,7 +1611,6 @@ exports[`<ComponentPlayground /> Should render with a custom background color 1`
16171611
exports[`<ComponentPlayground /> Should render with a custom code block 1`] = `
16181612
<div
16191613
class="react-live css-o32omv"
1620-
scope="[object Object]"
16211614
>
16221615
<div
16231616
class="css-qtztkt"
@@ -1678,13 +1671,7 @@ exports[`<ComponentPlayground /> Should render with a custom code block 1`] = `
16781671
>
16791672
const
16801673
</span>
1681-
1682-
<span
1683-
class="token function-variable function"
1684-
>
1685-
Button
1686-
</span>
1687-
1674+
Button
16881675
<span
16891676
class="token operator"
16901677
>
@@ -1716,7 +1703,12 @@ exports[`<ComponentPlayground /> Should render with a custom code block 1`] = `
17161703
<span
17171704
class="token operator"
17181705
>
1719-
=&gt;
1706+
=
1707+
</span>
1708+
<span
1709+
class="token operator"
1710+
>
1711+
&gt;
17201712
</span>
17211713
17221714
<span
@@ -1853,12 +1845,13 @@ exports[`<ComponentPlayground /> Should render with a custom code block 1`] = `
18531845
>
18541846
"
18551847
</span>
1856-
My Button
1857-
<span
1858-
class="token punctuation"
1859-
>
1860-
"
1861-
</span>
1848+
My
1849+
</span>
1850+
1851+
<span
1852+
class="token attr-name"
1853+
>
1854+
Button"
18621855
</span>
18631856
18641857
<span

0 commit comments

Comments
 (0)