Skip to content
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

how can I mock a dialog with spectron14? #902

Open
mankeheaven opened this issue Mar 17, 2021 · 0 comments
Open

how can I mock a dialog with spectron14? #902

mankeheaven opened this issue Mar 17, 2021 · 0 comments

Comments

@mankeheaven
Copy link

https://github.com/joe-re/spectron-fake-dialog, it can run with spectron13, but not work with spectron 14

I guess ipcrender.sendsync is ok, but args with preload.js can not work, and ipcmain.on is not ok

I don't know what is the matter with spectron14 and electron, how can I mock a dialog with spectron 14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant