Debug Data Transformation
Advent day 4: How to tap into Ramda pipe while debugging a Cypress test
Writing your own should(callback) functions can become tricky, especially if you use Ramda compose
and pipe
functions to write point-free expressions. In the video below I show how to debug the failing test and how to fix it.
Bonus: take a look at cypress-should-really plugin that allows you to write data transformations and assertions together.