This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
48 changed files
with
4,796 additions
and
4,349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 17 additions & 44 deletions
61
examples/components/src/__tests__/__snapshots__/app.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,34 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`App renders 1`] = ` | ||
<div> | ||
Loading | ||
</div> | ||
`; | ||
|
||
exports[`Character handles a loading state 1`] = ` | ||
<div> | ||
Loading | ||
</div> | ||
`; | ||
|
||
exports[`Character handles an error state 1`] = ` | ||
<h1> | ||
ERROR | ||
</h1> | ||
`; | ||
|
||
exports[`Character returns markup for a friend without an appearsIn 1`] = ` | ||
exports[`App renders data 1`] = ` | ||
<div> | ||
<div> | ||
<h3> | ||
r2d2 | ||
</h3> | ||
<h6> | ||
luke | ||
: | ||
newhope | ||
</h6> | ||
<h6> | ||
james | ||
: | ||
</h6> | ||
<div> | ||
<h3> | ||
r2d2 | ||
</h3> | ||
<h6> | ||
luke | ||
: | ||
newhope | ||
</h6> | ||
</div> | ||
</div> | ||
</div> | ||
`; | ||
|
||
exports[`Character returns markup for a hero with no friends 1`] = ` | ||
exports[`App renders error 1`] = ` | ||
<div> | ||
<div> | ||
<h3> | ||
r2d2 | ||
</h3> | ||
</div> | ||
<h1> | ||
ERROR | ||
</h1> | ||
</div> | ||
`; | ||
|
||
exports[`Character returns markup for empty array of friends 1`] = ` | ||
exports[`App renders loading 1`] = ` | ||
<div> | ||
<div> | ||
<h3> | ||
r2d2 | ||
</h3> | ||
Loading | ||
</div> | ||
</div> | ||
`; | ||
|
||
exports[`Character returns markup for null response 1`] = `<div />`; |
52 changes: 52 additions & 0 deletions
52
examples/components/src/__tests__/__snapshots__/character.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Character returns markup for a friend without an appearsIn 1`] = ` | ||
<div> | ||
<div> | ||
<div> | ||
<h3> | ||
r2d2 | ||
</h3> | ||
<h6> | ||
luke | ||
: | ||
newhope | ||
</h6> | ||
<h6> | ||
james | ||
: | ||
</h6> | ||
</div> | ||
</div> | ||
</div> | ||
`; | ||
|
||
exports[`Character returns markup for a hero with no friends 1`] = ` | ||
<div> | ||
<div> | ||
<div> | ||
<h3> | ||
r2d2 | ||
</h3> | ||
</div> | ||
</div> | ||
</div> | ||
`; | ||
|
||
exports[`Character returns markup for empty array of friends 1`] = ` | ||
<div> | ||
<div> | ||
<div> | ||
<h3> | ||
r2d2 | ||
</h3> | ||
</div> | ||
</div> | ||
</div> | ||
`; | ||
|
||
exports[`Character returns markup for null response 1`] = ` | ||
<div> | ||
<div /> | ||
</div> | ||
`; |
Oops, something went wrong.