-
I've searched the ava repo, electron repo and the web. Apparently I'm doing something exotic. Starting with Electron 20 I can no longer run my tests with ava. I don't know what exactly broke it and if I need to change something or them. My npm script:
Minimal repo steps are easy in an empty folder:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Turns out this is a bug in Electron (they fiddled with the ESM loader), I just need to repro it without ava. Broke between https://grep.app/search?q=if%20%28%21ObjectPrototypeHasOwnProperty%28exports%2C%20exportName%29 |
Beta Was this translation helpful? Give feedback.
Turns out this is a bug in Electron (they fiddled with the ESM loader), I just need to repro it without ava. Broke between
20.3.1
and20.3.2
.https://grep.app/search?q=if%20%28%21ObjectPrototypeHasOwnProperty%28exports%2C%20exportName%29
electron/electron#35930