hettlage (128) [Avatar] Offline
#1
The unit tests in Section 8.5.2 about pagination don't cover all edge cases, and it would be tempting to add more tests. But this immediately leads to the question what would be the best strategy for doing so. In other words, it might be of benefit if the chapter touched on parametrized tests. And while this arguably is beyond the scope of the book, it might also be of value if you used the opportunity to point the reader to a JavaScript equivalent of Haskell's QuickCheck or Python's Hypothesis.
Edd Yerburgh (22) [Avatar] Offline
#2
Thanks for the feedback, I'll consider adding more tests