Run Mocha tests in Electron
Browse cluster: JavaScript Standard Style Linting →electron-mocha is a test runner that executes Mocha tests within Electron, enabling developers to test JavaScript applications in a real browser environment and to test Electron apps themselves. The project is built on Mocha and Electron, and it provides a command-line interface that functions as a drop-in replacement for the standard mocha command, with additional options for running tests in either Electron's main or renderer process. It supports features like debugging through Electron's inspector, code coverage collection, and specialized handling for WebGL tests in environments without GPU support.