Jest is a JavaScript testing framework designed to ensure correctness of any JavaScript codebase. It allows you to write tests with an approachable, familiar and feature-rich API that gives you results quickly. Configure Jest for a client-side React project; Learn what Code Coverage is and how to properly use that metric; Write unit tests for JavaScript utilities and React components; Learn what snapshot testing is and how to use it effectively; Write integration tests for a React application; Configure Cypress for a web application

Jan 14, 2018 · The test passes when Cypress uses Chrome browser, but fails in Electron - because no code is executing. Electron simply ignores the type="module" script it does not know how to handle. We need to somehow transpile ES6 module code (and any other script it might load using import statement) into "normal" bundle.