Hi Kent, great stuff as usual!
Sergey Zarouski
11

Hi Sergey Zarouski!

I’m definitely a fan of minimal API surface area. For more goodness on this watch this talk from Sebastian Markbåge.

I personally appreciate the tradeoffs of having different ways to describe expected results to enable good error messages in tests. If everything were just assert(somethingIsTrue) then all your failure messages would be: somethingIsTrue !== true which is less helpful than expected fn to be called once but was called three times.

I’m not the biggest fan of the globals from Jest, but I’ll take the globals for the features of the test runner any day.

I hope that’s helpful!