Testing the application that sends custom jQuery events from Cypress. See cypress/integration/spec.js.
For full explanation, watch the video Test The Custom jQuery Events Using Cypress and read the blog post Listen To The Application Events From Cypress Tests