So how do we test hooks?
-
-
-
I know you're not asking me, but I was notified so I'll just send you my blog post on the subject :)https://kentcdodds.com/blog/react-hooks-whats-going-to-happen-to-my-tests …
- Još 5 drugih odgovora
Novi razgovor -
-
-
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
If in doubt do not write the test. The dead weight is a true issue, and deleting tests is socially difficult in teams.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
SERENITY NOW!
- Kraj razgovora
Novi razgovor -
-
-
But, but... 100% test coverage *Proceeds to write unit tests for (get/set)ters*
-
What do you mean? Isn't all code supposed to be in data classes? o.Opic.twitter.com/7IekZms6G5
- Još 3 druga odgovora
Novi razgovor -
-
-
If it is changing every day and has low impact, don't test it :-)
-
If it has low impact, it shouldn't be changing every day
. - Još 2 druga odgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.