The error is quite cryptic: Failed: cov_15u4dh72x3 is not defined. This is only when code coverage is measured, so I imagine there is some interference between istanbul, the Babel transpilation of async/await, and Electron. Maybe Istanbul doesn't realise what parts of code are actually ran in Electron.
The error is quite cryptic:
Failed: cov_15u4dh72x3 is not defined
. This is only when code coverage is measured, so I imagine there is some interference between istanbul, the Babel transpilation of async/await, and Electron. Maybe Istanbul doesn't realise what parts of code are actually ran in Electron.