You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not that I'd want to encourage anyone to use @electron/remote, but I still have code that uses it so need to do stuff like: require('@electron/remote/main').enable(someWindow.webContents);
In the case of an ember-electron app's tests, this means I can't use the default openTestWindow function in lib/test-support/index.js because it doesn't return a reference to the BrowserWindow it creates. It's not really a big deal in that it's not hard to work around, but if you'd be open to a PR that changes this I'd be willing to make one. (And it'd let me reduce some duplication on my side.)
Not that I'd want to encourage anyone to use
@electron/remote
, but I still have code that uses it so need to do stuff like:require('@electron/remote/main').enable(someWindow.webContents);
In the case of an
ember-electron
app's tests, this means I can't use the defaultopenTestWindow
function inlib/test-support/index.js
because it doesn't return a reference to theBrowserWindow
it creates. It's not really a big deal in that it's not hard to work around, but if you'd be open to a PR that changes this I'd be willing to make one. (And it'd let me reduce some duplication on my side.)See also:
The text was updated successfully, but these errors were encountered: