-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b7bfd0
commit b8d4759
Showing
2 changed files
with
83 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`User Page Renders Correctly 1`] = ` | ||
<main | ||
className="container-fluid mt-3 mb-5" | ||
> | ||
<section | ||
className="mb-3" | ||
> | ||
<a | ||
href="/" | ||
onClick={[Function]} | ||
> | ||
< Back to Tools | ||
</a> | ||
</section> | ||
<section | ||
className="mb-3" | ||
> | ||
<form | ||
className="form-inline" | ||
> | ||
<label | ||
htmlFor="userIdentifier" | ||
> | ||
Username or Email | ||
</label> | ||
<input | ||
className="form-control flex-grow-1 mr-1" | ||
defaultValue="" | ||
name="userIdentifier" | ||
type="text" | ||
/> | ||
<button | ||
className="btn btn-primary" | ||
onBlur={[Function]} | ||
onClick={[Function]} | ||
onKeyDown={[Function]} | ||
type="submit" | ||
> | ||
Search | ||
</button> | ||
</form> | ||
</section> | ||
<section> | ||
<p> | ||
Please search for a username or email. | ||
</p> | ||
</section> | ||
</main> | ||
`; |
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,32 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`User Search Page renders correctly using snapshot 1`] = ` | ||
<section | ||
className="mb-3" | ||
> | ||
<form | ||
className="form-inline" | ||
> | ||
<label | ||
htmlFor="userIdentifier" | ||
> | ||
Username or Email | ||
</label> | ||
<input | ||
className="form-control flex-grow-1 mr-1" | ||
defaultValue="" | ||
name="userIdentifier" | ||
type="text" | ||
/> | ||
<button | ||
className="btn btn-primary" | ||
onBlur={[Function]} | ||
onClick={[Function]} | ||
onKeyDown={[Function]} | ||
type="submit" | ||
> | ||
Search | ||
</button> | ||
</form> | ||
</section> | ||
`; |