Example application has been forked from reduxjs/redux and stored in src
folder.
npm install
npm run dev
Start the application and opens Cypress test runner with several specs. You can also open the Chrome browser at localhost:1234, and if you have Kuker Extension installed, you should see Redux events reported as you use the application.
Different specs in cypress/integration folder show different levels of processing Kuker events in the Cypress tests
- spec.js is purely UI test without any Kuker events
- spy-spec.js shows how to spy from the test on
window.postMessage
calls used by Kuker emitter to send data to the Kuker DevTools extension - kuker-spec.js makes a separate spy that only sees clean event data and nicely logs event details
- fixture-spec.js asserts data sent by Kuker against expected values loaded from cypress/fixtures JSON files