From d8db046b4f62c199dec3efba4ddfe57069e4af8f Mon Sep 17 00:00:00 2001
From: Joe Ng'ethe <>
Date: Thu, 13 Sep 2018 01:22:59 +0300
Subject: [PATCH 1/7] updated the README to include a video explaining what is
react-testing-libary from @stolinski
---
README.md | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 39e7307c..800a01e8 100644
--- a/README.md
+++ b/README.md
@@ -73,6 +73,10 @@ facilitate testing implementation details). Read more about this in
> [`dom-testing-library`](https://github.com/kentcdodds/dom-testing-library)
> which is where most of the logic behind the queries is.
+## What is react-testing-libary?
+
+[](https://youtu.be/JKOwJUM4_RM 'what is react testing library')
+
## Example
```javascript
@@ -795,7 +799,7 @@ Some included are:
- [A sample repo using react-testing-library to test a Relay Modern GraphQL app](https://github.com/zth/relay-modern-flow-jest-example)
-- [Creating Readable Tests Using React Testing Library](https://medium.com/flatiron-labs/creating-readable-tests-using-react-testing-library-2bd03c49c284)
+- [Creating Readable Tests Using React Testing Library](https://medium.com/flatiron-labs/creating-readable-tests-using-react-testing-library-2bd03c49c284)
by [Lukeghenco](https://github.com/Lukeghenco)
Feel free to contribute more!
From d5a07257a2d929c8aadc2b67743bd7b20494d9bd Mon Sep 17 00:00:00 2001
From: Joe Ng'ethe <>
Date: Thu, 13 Sep 2018 01:26:32 +0300
Subject: [PATCH 2/7] added myself to all-contributors
---
.all-contributorsrc | 10 ++++++++++
README.md | 4 ++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/.all-contributorsrc b/.all-contributorsrc
index 088a1f75..e6246601 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -493,6 +493,16 @@
"contributions": [
"doc"
]
+ },
+ {
+ "login": "joeynimu",
+ "name": "Joe Ng'ethe",
+ "avatar_url": "https://avatars0.githubusercontent.com/u/1195863?v=4",
+ "profile": "https://github.com/joeynimu",
+ "contributions": [
+ "code",
+ "doc"
+ ]
}
]
}
diff --git a/README.md b/README.md
index 800a01e8..eb8a3603 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@
[![version][version-badge]][package] [![downloads][downloads-badge]][npmtrends]
[![MIT License][license-badge]][license]
-[](#contributors)
+[](#contributors)
[![PRs Welcome][prs-badge]][prs] [![Code of Conduct][coc-badge]][coc]
[![Join the community on Spectrum][spectrum-badge]][spectrum]
@@ -1139,7 +1139,7 @@ Thanks goes to these people ([emoji key][emojis]):
| [
Richard Kotze (mobile)](http://www.richardkotze.com)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=rkotze "Documentation") | [
Brahian E. Soto Mercedes](https://github.com/sotobuild)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=sotobuild "Documentation") | [
Benoit de La Forest](https://github.com/bdelaforest)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=bdelaforest "Documentation") | [
Salah](https://github.com/thesalah)
[π»](https://github.com/kentcdodds/react-testing-library/commits?author=thesalah "Code") [β οΈ](https://github.com/kentcdodds/react-testing-library/commits?author=thesalah "Tests") | [
Adam Gordon](http://gordonizer.com)
[π](https://github.com/kentcdodds/react-testing-library/issues?q=author%3Aicfantv "Bug reports") [π»](https://github.com/kentcdodds/react-testing-library/commits?author=icfantv "Code") | [
Matija MarohniΔ](https://silvenon.com)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=silvenon "Documentation") | [
Justice Mba](https://github.com/Dajust)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=Dajust "Documentation") |
| [
Mark Pollmann](https://markpollmann.com/)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=MarkPollmann "Documentation") | [
Ehtesham Kafeel](https://github.com/ehteshamkafeel)
[π»](https://github.com/kentcdodds/react-testing-library/commits?author=ehteshamkafeel "Code") [π](https://github.com/kentcdodds/react-testing-library/commits?author=ehteshamkafeel "Documentation") | [
Julio PavΓ³n](http://jpavon.com)
[π»](https://github.com/kentcdodds/react-testing-library/commits?author=jpavon "Code") | [
Duncan L](http://www.duncanleung.com/)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=duncanleung "Documentation") [π‘](#example-duncanleung "Examples") | [
Tiago Almeida](https://www.linkedin.com/in/tyagow/?locale=en_US)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=tyagow "Documentation") | [
Robert Smith](http://rbrtsmith.com/)
[π](https://github.com/kentcdodds/react-testing-library/issues?q=author%3Arbrtsmith "Bug reports") | [
Zach Green](https://offbyone.tech)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=zgreen "Documentation") |
| [
dadamssg](https://github.com/dadamssg)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=dadamssg "Documentation") | [
Yazan Aabed](https://www.yaabed.com/)
[π](#blog-YazanAabeed "Blogposts") | [
Tim](https://github.com/timbonicus)
[π](https://github.com/kentcdodds/react-testing-library/issues?q=author%3Atimbonicus "Bug reports") [π»](https://github.com/kentcdodds/react-testing-library/commits?author=timbonicus "Code") [π](https://github.com/kentcdodds/react-testing-library/commits?author=timbonicus "Documentation") [β οΈ](https://github.com/kentcdodds/react-testing-library/commits?author=timbonicus "Tests") | [
Divyanshu Maithani](http://divyanshu.xyz)
[β
](#tutorial-divyanshu013 "Tutorials") [πΉ](#video-divyanshu013 "Videos") | [
Deepak Grover](https://www.linkedin.com/in/metagrover)
[β
](#tutorial-metagrover "Tutorials") [πΉ](#video-metagrover "Videos") | [
Eyal Cohen](https://github.com/eyalcohen4)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=eyalcohen4 "Documentation") | [
Peter Makowski](https://github.com/petermakowski)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=petermakowski "Documentation") |
-| [
Michiel Nuyts](https://github.com/Michielnuyts)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=Michielnuyts "Documentation") |
+| [
Michiel Nuyts](https://github.com/Michielnuyts)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=Michielnuyts "Documentation") | [
Joe Ng'ethe](https://github.com/joeynimu)
[π»](https://github.com/kentcdodds/react-testing-library/commits?author=joeynimu "Code") [π](https://github.com/kentcdodds/react-testing-library/commits?author=joeynimu "Documentation") |
From 71004cf8a07c3ec4e621e3e76cf4236167df94ff Mon Sep 17 00:00:00 2001
From: Joe Ng'ethe <>
Date: Thu, 13 Sep 2018 01:32:05 +0300
Subject: [PATCH 3/7] updated the video link to open on a new tab and added a
small paragaph
---
README.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index eb8a3603..fb4f0a08 100644
--- a/README.md
+++ b/README.md
@@ -75,7 +75,8 @@ facilitate testing implementation details). Read more about this in
## What is react-testing-libary?
-[](https://youtu.be/JKOwJUM4_RM 'what is react testing library')
+Have a look at the video below for an explanation
+[](https://youtu.be/JKOwJUM4_RM 'what is react testing library'){:target="\_blank"}
## Example
From 0c3ef2a39f88d483e743005b630b088ee0000e14 Mon Sep 17 00:00:00 2001
From: Joe Ng'ethe <>
Date: Thu, 13 Sep 2018 01:38:32 +0300
Subject: [PATCH 4/7] reverted link not to open in new tab for github doesn't
like it
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index fb4f0a08..d1a7a61c 100644
--- a/README.md
+++ b/README.md
@@ -76,7 +76,7 @@ facilitate testing implementation details). Read more about this in
## What is react-testing-libary?
Have a look at the video below for an explanation
-[](https://youtu.be/JKOwJUM4_RM 'what is react testing library'){:target="\_blank"}
+[](https://youtu.be/JKOwJUM4_RM 'what is react testing library')
## Example
From 95f25bcc04ff22a866fabc7d4da0ff4a5f4bd590 Mon Sep 17 00:00:00 2001
From: Joe Ng'ethe <>
Date: Thu, 13 Sep 2018 01:41:29 +0300
Subject: [PATCH 5/7] added a line break
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index d1a7a61c..0ff99118 100644
--- a/README.md
+++ b/README.md
@@ -75,7 +75,7 @@ facilitate testing implementation details). Read more about this in
## What is react-testing-libary?
-Have a look at the video below for an explanation
+Have a look at the video below for an explanation
[](https://youtu.be/JKOwJUM4_RM 'what is react testing library')
## Example
From 0c477d86aa75d153a0b914678c4e7077cef64ffc Mon Sep 17 00:00:00 2001
From: Joe Ng'ethe <>
Date: Thu, 13 Sep 2018 01:43:17 +0300
Subject: [PATCH 6/7] added a line break
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 0ff99118..7cd5d347 100644
--- a/README.md
+++ b/README.md
@@ -75,7 +75,7 @@ facilitate testing implementation details). Read more about this in
## What is react-testing-libary?
-Have a look at the video below for an explanation
+Have a look at the video below for an explanation.
[](https://youtu.be/JKOwJUM4_RM 'what is react testing library')
## Example
From ed2e3a2eb3a9cf8e06c26b5c3a5d95e1ce9f1c66 Mon Sep 17 00:00:00 2001
From: Joe Ng'ethe <>
Date: Thu, 13 Sep 2018 01:52:32 +0300
Subject: [PATCH 7/7] I have only contributed on documentation atm
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 7cd5d347..8df34b3b 100644
--- a/README.md
+++ b/README.md
@@ -1140,7 +1140,7 @@ Thanks goes to these people ([emoji key][emojis]):
| [
Richard Kotze (mobile)](http://www.richardkotze.com)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=rkotze "Documentation") | [
Brahian E. Soto Mercedes](https://github.com/sotobuild)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=sotobuild "Documentation") | [
Benoit de La Forest](https://github.com/bdelaforest)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=bdelaforest "Documentation") | [
Salah](https://github.com/thesalah)
[π»](https://github.com/kentcdodds/react-testing-library/commits?author=thesalah "Code") [β οΈ](https://github.com/kentcdodds/react-testing-library/commits?author=thesalah "Tests") | [
Adam Gordon](http://gordonizer.com)
[π](https://github.com/kentcdodds/react-testing-library/issues?q=author%3Aicfantv "Bug reports") [π»](https://github.com/kentcdodds/react-testing-library/commits?author=icfantv "Code") | [
Matija MarohniΔ](https://silvenon.com)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=silvenon "Documentation") | [
Justice Mba](https://github.com/Dajust)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=Dajust "Documentation") |
| [
Mark Pollmann](https://markpollmann.com/)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=MarkPollmann "Documentation") | [
Ehtesham Kafeel](https://github.com/ehteshamkafeel)
[π»](https://github.com/kentcdodds/react-testing-library/commits?author=ehteshamkafeel "Code") [π](https://github.com/kentcdodds/react-testing-library/commits?author=ehteshamkafeel "Documentation") | [
Julio PavΓ³n](http://jpavon.com)
[π»](https://github.com/kentcdodds/react-testing-library/commits?author=jpavon "Code") | [
Duncan L](http://www.duncanleung.com/)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=duncanleung "Documentation") [π‘](#example-duncanleung "Examples") | [
Tiago Almeida](https://www.linkedin.com/in/tyagow/?locale=en_US)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=tyagow "Documentation") | [
Robert Smith](http://rbrtsmith.com/)
[π](https://github.com/kentcdodds/react-testing-library/issues?q=author%3Arbrtsmith "Bug reports") | [
Zach Green](https://offbyone.tech)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=zgreen "Documentation") |
| [
dadamssg](https://github.com/dadamssg)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=dadamssg "Documentation") | [
Yazan Aabed](https://www.yaabed.com/)
[π](#blog-YazanAabeed "Blogposts") | [
Tim](https://github.com/timbonicus)
[π](https://github.com/kentcdodds/react-testing-library/issues?q=author%3Atimbonicus "Bug reports") [π»](https://github.com/kentcdodds/react-testing-library/commits?author=timbonicus "Code") [π](https://github.com/kentcdodds/react-testing-library/commits?author=timbonicus "Documentation") [β οΈ](https://github.com/kentcdodds/react-testing-library/commits?author=timbonicus "Tests") | [
Divyanshu Maithani](http://divyanshu.xyz)
[β
](#tutorial-divyanshu013 "Tutorials") [πΉ](#video-divyanshu013 "Videos") | [
Deepak Grover](https://www.linkedin.com/in/metagrover)
[β
](#tutorial-metagrover "Tutorials") [πΉ](#video-metagrover "Videos") | [
Eyal Cohen](https://github.com/eyalcohen4)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=eyalcohen4 "Documentation") | [
Peter Makowski](https://github.com/petermakowski)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=petermakowski "Documentation") |
-| [
Michiel Nuyts](https://github.com/Michielnuyts)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=Michielnuyts "Documentation") | [
Joe Ng'ethe](https://github.com/joeynimu)
[π»](https://github.com/kentcdodds/react-testing-library/commits?author=joeynimu "Code") [π](https://github.com/kentcdodds/react-testing-library/commits?author=joeynimu "Documentation") |
+| [
Michiel Nuyts](https://github.com/Michielnuyts)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=Michielnuyts "Documentation") | [
Joe Ng'ethe](https://github.com/joeynimu)
[π](https://github.com/kentcdodds/react-testing-library/commits?author=joeynimu "Documentation") |