Explore tweets tagged as #ReactTestingLibrary
Continuing our series from last week, Charan lead us through Part-II of Automated Test. We discussed - .✅Mock testing (mock responses).🪝testing approach for custom hooks.🃏Faker library .#AutomatedTest #React #ReactTestingLibrary #ProximityTechWeekly #ProximityWorks #proxonauts
0
3
4
.@kentcdodds . I love the new `rerender`, `unmount`, and `result` return values from `testHook` in #ReactTestingLibrary. 🐐
2
5
39
React Testing Library does not find elements using getAllByTestId after initial render #reactjs #testing #jestjs #javascript #reacttestinglibrary
0
4
1
Getting the hang of #ReactTestingLibrary. Still have work to do in this component, but I better call it a night 🛌💤 Definitely lost track of time, but that's what happens what you get into the flow state.
1
0
1
Day 9 - #3HoursOfLearningEveryday done. Total #Learning = 28 hrs 42 mins. #Learning at hyper speed, #innovation #patents at rocket speed. #react #test #automation #jest #hooks #snapshots #reacttestinglibrary #css
0
0
2
My latest video is finally here! 'Building Todoist Using React (Custom Hooks, Context), Firebase, React Testing Library & SCSS (using BEM)`🔥🔥- please share 😃 #JavaScript #ES6 #React #ReactTestingLibrary #React #100DaysOfCode #freeCodeCamp #CodeNewbie
0
1
9
❗New blog post❗ .Title: Why should we rewrite enzyme.js to react-testing-library and how to do that? by Magdalena Mazur. Link: #frontend #javascript #enzyme #reacttestinglibrary #rtl #tests
0
3
10
Writing tests that use shallow rendering came up at work today (I'm not a fan). It prompted me to say this. In other words, test the behavior of a component, not the implementation. That's why I use @kentcdodds' #ReactTestingLibrary to test components.
2
1
10
Have you ever needed to mock environment variables when rendering React components in testing? Make sure to assign new values to process.env *before* you import the React component .🚀 #TypeScript #React #Jest #ReactTestingLibrary.
0
0
0
#React Testing Library: The Modern Way to Test React Components #ReactTestingLibrary #JavaScript #WebDevelopment
0
1
0
A really great talk @ReactLoop by @elizfunk that I think did #ReactTestingLibrary justice and hit on some of the key points for using it. I think @kentcdodds would have loved the talk!
1
4
19
"How to use React Testing Library to rewrite an Enzyme Component test: a mini-rewrite case study of two testing libraries" check out the latest on react-testing-library from engineer @lukeghenco #reactjs #reacttestinglibrary
0
7
29
My journey with #reactTestingLibrary began. If you want to be a javascript ninja 👉@kentcdodds === OBI-WAN KENOBI ⚔️. “Use the react-testing-library, Luke.” is the new Jedi moto .
1
0
3
Been using this custom testing-library/react renderer for a few months now and it has made it significantly easier to write tests by logging fragment diffs for better feedback while testing. Gist: #testinglibrary #reacttestinglibrary
1
14
63
I am now officially a contributor to @kentcdodds' #ReactTestingLibrary. 🐐. Check out the new `testHook` utility that I wrote for testing React custom hooks. Thx Kent!. Ship your custom hooks with confidence! 💪. #reactjs #hooks #testing.
0
4
35
#ReactTestingLibrary TIL. I ran into an issue testing a component that uses a Portal downstream. The preferred solution I found, per @kentcdodds, was to add a couple lines to the base Portal component to ensure its root element is on the DOM.
0
2
21
Presented last week a new workshop at @sageuk, "UI Testing Foundations". Think this slide applies to any area of software testing, the 4 core areas I'd test, in order. Anything I've missed or you would change? .#testing #development #software #reactJS #reacttestinglibrary
0
0
1