Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 50 additions & 50 deletions __tests__/components/__snapshots__/Pattern.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ exports[`REFERENCE - Pattern component renders the individual pattern (Singleton
.
</p>
<h3>
ES5
ES6
</h3>
<pre
style={
Expand Down Expand Up @@ -103,7 +103,7 @@ exports[`REFERENCE - Pattern component renders the individual pattern (Singleton
}
}
>
function
class
</span>

<span
Expand All @@ -115,18 +115,21 @@ exports[`REFERENCE - Pattern component renders the individual pattern (Singleton
>
Person
</span>
(
<span
style={
Object {
"color": "#fabd2f",
}
}
/>
)

</span>
{

<span
style={
Object {
"color": "#fb4934",
}
}
>
constructor
</span>
() {

<span
style={
Object {
Expand Down Expand Up @@ -156,7 +159,8 @@ exports[`REFERENCE - Pattern component renders the individual pattern (Singleton
>
'object'
</span>
)
) {

<span
style={
Object {
Expand All @@ -167,8 +171,9 @@ exports[`REFERENCE - Pattern component renders the individual pattern (Singleton
return
</span>
Person.instance;
}

Person.instance =
Person.instance =
<span
style={
Object {
Expand All @@ -180,7 +185,7 @@ exports[`REFERENCE - Pattern component renders the individual pattern (Singleton
</span>
;


<span
style={
Object {
Expand All @@ -201,23 +206,34 @@ exports[`REFERENCE - Pattern component renders the individual pattern (Singleton
this
</span>
;
}
}


<span
style={
Object {
"color": "#83a598",
"color": "#fb4934",
}
}
>
module
export
</span>
.exports = Person;

<span
style={
Object {
"color": "#fb4934",
}
}
>
default
</span>
Person;
</code>
</pre>
<h3>
ES6
ES5
</h3>
<pre
style={
Expand Down Expand Up @@ -246,7 +262,7 @@ exports[`REFERENCE - Pattern component renders the individual pattern (Singleton
}
}
>
class
function
</span>

<span
Expand All @@ -258,21 +274,18 @@ exports[`REFERENCE - Pattern component renders the individual pattern (Singleton
>
Person
</span>

(
<span
style={
Object {
"color": "#fabd2f",
}
}
/>
)
</span>
{

<span
style={
Object {
"color": "#fb4934",
}
}
>
constructor
</span>
() {

<span
style={
Object {
Expand Down Expand Up @@ -302,8 +315,7 @@ exports[`REFERENCE - Pattern component renders the individual pattern (Singleton
>
'object'
</span>
) {

)
<span
style={
Object {
Expand All @@ -314,9 +326,8 @@ exports[`REFERENCE - Pattern component renders the individual pattern (Singleton
return
</span>
Person.instance;
}

Person.instance =
Person.instance =
<span
style={
Object {
Expand All @@ -328,7 +339,7 @@ exports[`REFERENCE - Pattern component renders the individual pattern (Singleton
</span>
;


<span
style={
Object {
Expand All @@ -349,30 +360,19 @@ exports[`REFERENCE - Pattern component renders the individual pattern (Singleton
this
</span>
;
}
}


<span
style={
Object {
"color": "#fb4934",
}
}
>
export
</span>

<span
style={
Object {
"color": "#fb4934",
"color": "#83a598",
}
}
>
default
module
</span>
Person;
.exports = Person;
</code>
</pre>
</div>
Expand Down
Loading