Hi! I no longer care to support bower, so I will not be working on publish-latest. Sorry. Good luck though!
Sorry you had such a hard time with that stuff. FWIW, ESLint has built-in configuration for Jest (see the ESLint docs). Also, I’ve never used
expect.assertions(N) (I agree with you that it’s more problematic than it’s worth). It’s certainly not a requirement at all. I’ve found async tests to be amazingly simple with Jest (especially when you can use async/await).
You’re correct. Nice observation. I should have called out the important distinction between implicit and explicit. With
this you (and your team) all have to understand how
this is bound and in what way (in particular with the various forms of defining functions we have now). With pure functions, the relationship is explicit. Much easier for everyone to understand what’s going on.