Asher Oloo
e60bca04f3
Fixed a minor typo in a comment ( #3685 )
4 years ago
Pradip
8aee286cc8
Testing Recipes - Timers: call useFakeTimers/userRealTimers before/after each test ( #3591 )
4 years ago
Dan Abramov
6682068641
Tweak event delegation notes
4 years ago
Toru Kobayashi
da8ef8b0f6
Explain where act comes from ( #3237 )
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
4 years ago
石发磊
f21896aee4
missing export default for contact.js ( #3209 )
4 years ago
项鸿伟
7c28a3e88a
Update testing-recipes.md ( #2509 )
Missing code
5 years ago
numb86
1e4159d11d
Fix sample test code ( #2648 )
5 years ago
shixiaomiaomiao
8af118139e
Update testing-recipes.md ( #2616 )
5 years ago
Sergei Cherniaev
1f2b1dae94
Docs: a typo and bottom nav links ( #2339 )
* typo fixed
* bottom nav links on previous and next articles removed like in other advanced guides
5 years ago
Sergei Cherniaev
519a3aec91
missed link in fast navigation added ( #2289 )
5 years ago
Todd Chaffee
12a84023f1
Update testing-recipes.md with English correct. ( #2224 )
"Get a hold" should be the phrasal verb "get ahold". See https://www.quickanddirtytips.com/education/grammar/a-hold-or-ahold?page=1
5 years ago
Sunil Pai
53cce1dc2e
Adds a TOC to testing-recipes.md ( #2221 )
Nothing, fancy, just a list of links to the sections on the page. Also took the opportunity to add dividers between sections, and Title Case the titles.
5 years ago
Sunil Pai
911f5d1a39
[easy] copyedit testing-recipes.md ( #2220 )
2 small changes
- consistent data-testid everywhere
- one wrong assertion
5 years ago
Arihant Verma
4559e1c20e
Type fix 'Diffrent' ➡️ 'Different' ( #2215 )
Type fix 'Diffrent' ➡️ 'Different'
5 years ago
Neil Kistner
3f6d60a229
Update testing-recipes.md ( #2212 )
* Update testing-recipes.md
Update timers section code to match described situation
* Missed a spot
5 years ago
Sunil Pai
8be8bf9d2f
Testing Docs ( #2165 )
* Testing Docs
This expands the testing docs for reactjs.org. It adds 3 main docs -
- testing.md: An entry point to the testing docs
- testing-recipes.md: Common patterns when writing tests for React Components.
- testing-environments.md: Setting up your testing environment.
With help from @alexkrolick , @kentcdodds , @gaearon
5 years ago