diff --git a/.all-contributorsrc b/.all-contributorsrc
index 8bf7e367..954f0973 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -73,6 +73,15 @@
"contributions": [
"doc"
]
+ },
+ {
+ "login": "wk32",
+ "name": "WK",
+ "avatar_url": "https://avatars3.githubusercontent.com/u/7888225?v=4",
+ "profile": "https://github.com/wk32",
+ "contributions": [
+ "bug"
+ ]
}
],
"repoType": "github"
diff --git a/README.md b/README.md
index dc3384c3..fa940fa9 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ workshop repo to teach you about testing JavaScript applications.
[![AppVeyor Build Status][win-build-badge]][win-build]
[![Code Coverage][coverage-badge]][coverage]
[![License][license-badge]](#license)
-[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors)
+[![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat-square)](#contributors)
[![PRs Welcome][prs-badge]][prs]
[![Code of Conduct][coc-badge]][coc]
@@ -26,24 +26,22 @@ workshop repo to teach you about testing JavaScript applications.
## Table of Contents
-
-
-* [Topics covered](#topics-covered)
-* [Branches](#branches)
-* [System Requirements](#system-requirements)
-* [Setup](#setup)
-* [Running the app](#running-the-app)
-* [About the app](#about-the-app)
- * [Continuous Integration](#continuous-integration)
- * [Hosting](#hosting)
- * [Register and Login](#register-and-login)
-* [Troubleshooting](#troubleshooting)
-* [Structure](#structure)
-* [Contributors](#contributors)
-* [LICENSE](#license)
+- [Topics covered](#topics-covered)
+- [Branches](#branches)
+- [System Requirements](#system-requirements)
+- [Setup](#setup)
+- [Running the app](#running-the-app)
+- [About the app](#about-the-app)
+ - [Continuous Integration](#continuous-integration)
+ - [Hosting](#hosting)
+ - [Register and Login](#register-and-login)
+- [Troubleshooting](#troubleshooting)
+- [Structure](#structure)
+- [Contributors](#contributors)
+- [LICENSE](#license)
@@ -71,13 +69,13 @@ want to switch to the appropriate branch for this workshop. Otherwise the code
you're looking at may not be exactly the same as the code used in the setting
you're working with.
-* Frontend Masters 2017 [`fem`](https://github.com/kentcdodds/testing-workshop/tree/fem)
+- Frontend Masters 2017 [`fem`](https://github.com/kentcdodds/testing-workshop/tree/fem)
## System Requirements
-* [git][git] v2.14.1 or greater
-* [NodeJS][node] v8.9.4 or greater
-* [npm][npm] v5.6.0 or greater
+- [git][git] v2.14.1 or greater
+- [NodeJS][node] v8.9.4 or greater
+- [npm][npm] v5.6.0 or greater
All of these must be available in your `PATH`. To verify things are set up
properly, you can run this:
@@ -146,8 +144,8 @@ generated).
We're using two CI services:
-* [Travis][build] (Linux): find config in `.travis.yml`
-* [AppVeyor][win-build] (Windows): find config in `appveyor.yml`
+- [Travis][build] (Linux): find config in `.travis.yml`
+- [AppVeyor][win-build] (Windows): find config in `appveyor.yml`
### Hosting
@@ -270,10 +268,10 @@ able to leave you command line in the root directory for the whole workshop.
Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
-
| [
Kent C. Dodds](https://kentcdodds.com)
[💻](https://github.com/kentcdodds/testing-workshop/commits?author=kentcdodds "Code") [📖](https://github.com/kentcdodds/testing-workshop/commits?author=kentcdodds "Documentation") [🚇](#infra-kentcdodds "Infrastructure (Hosting, Build-Tools, etc)") [⚠️](https://github.com/kentcdodds/testing-workshop/commits?author=kentcdodds "Tests") | [
Osama Jandali](https://github.com/osamajandali)
[💻](https://github.com/kentcdodds/testing-workshop/commits?author=osamajandali "Code") [🎨](#design-osamajandali "Design") | [
Stefan Ivic](http://stefanivic.me/)
[🐛](https://github.com/kentcdodds/testing-workshop/issues?q=author%3Astefanivic "Bug reports") | [
Nick Klepinger](https://github.com/bodiddlie)
[🐛](https://github.com/kentcdodds/testing-workshop/issues?q=author%3Abodiddlie "Bug reports") | [
Abinav Seelan](http://abinavseelan.com)
[🐛](https://github.com/kentcdodds/testing-workshop/issues?q=author%3Aabinavseelan "Bug reports") | [
Philip Sotirov](http://philipsotirov.com)
[🐛](https://github.com/kentcdodds/testing-workshop/issues?q=author%3Afipo "Bug reports") | [
Austin Wood](https://github.com/indiesquidge)
[📖](https://github.com/kentcdodds/testing-workshop/commits?author=indiesquidge "Documentation") |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
+| [
WK](https://github.com/wk32)
[🐛](https://github.com/kentcdodds/testing-workshop/issues?q=author%3Awk32 "Bug reports") |
diff --git a/client/package.json b/client/package.json
index 5a073a54..af567a58 100644
--- a/client/package.json
+++ b/client/package.json
@@ -31,7 +31,7 @@
"devDependencies": {
"jest-dom": "^1.0.0",
"jest-glamor-react": "^4.2.0",
- "react-scripts": "2.0.0-next.b2fd8db8",
+ "react-scripts": "^1.1.4",
"react-testing-library": "^2.1.1",
"til-shared": "file:../shared"
},
diff --git a/client/src/components/__tests__/__snapshots__/login.final.js.snap b/client/src/components/__tests__/__snapshots__/login.final.js.snap
index fd9d0402..841c4cb4 100644
--- a/client/src/components/__tests__/__snapshots__/login.final.js.snap
+++ b/client/src/components/__tests__/__snapshots__/login.final.js.snap
@@ -3,6 +3,22 @@
exports[`snapshot 1`] = `
.css-0,
[data-css-0] {
+ display: -webkit-box;
+ display: -moz-box;
+ display: -ms-flexbox;
+ display: -webkit-flex;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ -webkit-box-orient: vertical;
+ -webkit-box-direction: normal;
+ -webkit-flex-direction: column;
+ -webkit-box-align: center;
+ -webkit-align-items: center;
+}
+
+.css-1,
+[data-css-1] {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
@@ -21,8 +37,8 @@ exports[`snapshot 1`] = `
-webkit-align-items: center;
}
-.css-1,
-[data-css-1] {
+.css-2,
+[data-css-2] {
display: grid;
grid-template-columns: 100px 1fr;
grid-gap: 16px;
@@ -37,8 +53,8 @@ exports[`snapshot 1`] = `
-webkit-align-items: center;
}
-.css-2,
-[data-css-2] {
+.css-3,
+[data-css-3] {
background: white;
height: 50px;
border: none;
@@ -51,28 +67,28 @@ exports[`snapshot 1`] = `
padding-left: 10px;
}
-.css-2::-webkit-input-placeholder,
-[data-css-2]::-webkit-input-placeholder {
+.css-3::-webkit-input-placeholder,
+[data-css-3]::-webkit-input-placeholder {
opacity: 0.5;
}
-.css-2::-moz-placeholder,
-[data-css-2]::-moz-placeholder {
+.css-3::-moz-placeholder,
+[data-css-3]::-moz-placeholder {
opacity: 0.5;
}
-.css-2::-ms-input-placeholder,
-[data-css-2]::-ms-input-placeholder {
+.css-3::-ms-input-placeholder,
+[data-css-3]::-ms-input-placeholder {
opacity: 0.5;
}
-.css-2::placeholder,
-[data-css-2]::placeholder {
+.css-3::placeholder,
+[data-css-3]::placeholder {
opacity: 0.5;
}
-.css-7,
-[data-css-7] {
+.css-8,
+[data-css-8] {
font-size: 13px;
font-family: Raleway,sans-serif;
background: var(--green);
@@ -89,14 +105,14 @@ exports[`snapshot 1`] = `
-moz-transition: 0.5s;
}
-.css-7:hover,
-[data-css-7]:hover {
+.css-8:hover,
+[data-css-8]:hover {
box-shadow: var(--shadowHover);
}
@media only screen and (max-width: 819px) {
- .css-0,
- [data-css-0] {
+ .css-1,
+ [data-css-1] {
margin-left: 0;
width: 90%;
}
@@ -104,13 +120,13 @@ exports[`snapshot 1`] = `