-
Notifications
You must be signed in to change notification settings - Fork 53
Test this module, not the builtin electron.remote; test with Electron 14, 15, 16, and 17 #113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This an equivalent of electron/electron#20925. It’s needed for us to pass the test suite when we’re actually testing this module instead of Electron’s builtin remote. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Semicolons are optional in JavaScript, except when they aren’t. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
ce352d0 to
dca79c2
Compare
|
Oh. The second bug was just a missing semicolon issue from when the test was ported in 972b076. With that fixed, everything passes. |
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
dca79c2 to
6dfa6f0
Compare
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
With a few other fixes, the test suite now passes with Electron 14, 15, 16, and 17 (except the error In combination with #111, this will let us catch future |
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
33c0ab8 to
e0b9a77
Compare
|
Thanks! |
|
🎉 This PR is included in version 2.0.9 🎉 The release is available on: Your semantic-release bot 📦🚀 |
A big section of the test suite has actually been testing the builtin
electron.remoterather than this module. Correcting that reveals two bugs.Promiseglobal from fix: capture the promise global to avoid userland mutation electron#20925 has been lost. Adding that back fixes the test.