-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Update Electron mock #158
Update Electron mock #158
Conversation
avoid send responseCallback, currently it's unnecessary for Electron
It looks |
@@ -24,7 +24,7 @@ if ( | |||
} | |||
|
|||
if (window.isElectron) { | |||
chrome.storage.local = { | |||
chrome.storage.local = chrome.storage.local || { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just to wrap in if (chrome.storage.local) {}
here? So it would be clearer for other contributors what is happening here.
@jhen0409, thanks! Would you add |
fixes copy:build:extension task for npm@2
It's passed on Travis. :) |
@jhen0409, any ideas why AppVeyor fails always at running tests for electron? I re-built the pr several times and always the same :-/ |
also add 5 attempts for find Redux tab
The last commit should fixed the problem, we need to wait loading time for Redux tab, and it looks very slow (9 seconds). 😂 |
Thanks a lot! |
The
chrome.runtime.sendMessage
is related to electron-react-boilerplate/electron-react-boilerplate#266.The
chrome.storage.local
is officially supported on v1.2.6, we can check it exists.