springload / wagtaildraftail

🐦📝🍸 Draft.js editor for Wagtail, built upon Draftail and draftjs_exporter
https://pypi.python.org/pypi/wagtaildraftail
MIT License
24 stars 3 forks source link

Test coverage measurement causes some E2E tests to fail #4

Open thibaudcolas opened 7 years ago

thibaudcolas commented 7 years ago

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.