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

Can you add docs on how to use this with jest? #115

Open
sontek opened this issue Mar 11, 2017 · 1 comment
Open

Can you add docs on how to use this with jest? #115

sontek opened this issue Mar 11, 2017 · 1 comment

Comments

@sontek
Copy link

sontek commented Mar 11, 2017

I've tried this:

./node_modules/devtool/bin/index.js ./node_modules/jest/bin/jest.js -i

Which does launch devtools and runs the tests but I put a debugger; line in the code and it didn't stop. I also don't see a way to keep the electron app open so as I save files I can set breakpoints inside the devtools and re-run them.

@kimbo6365
Copy link

I'd also be interested in knowing how to do this. I'm able to launch the browser, and when I pass in the --break option, it stops at the first line in jest, but it never stops at the debugger; statements in my tests.

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

2 participants