Closed jmlsf closed 6 years ago
@jmlsf Yes, a PR would be welcome. We can also drop phantom if there are better options?
If we can get chrome-headless to work in travis, that is surely better. The problem here is that I need to install karma to use chrome-headless with lein-doo. I think I'll have to add a package.json to do so.
Okay I got it to work. I'm don't have a lot of expertise, but the general sentiment seems to be that using chrome is better then using phantom. Seems logical that using a real browser is better than a mock.
@r0man The unit tests are failing as we discussed. It appears to be because of phantomjs. This fix looks a bit ugly. See this issue:
https://github.com/bensu/doo/issues/140
I tried it with karma & chrome-headless and the tests pass. I'll submit a PR if you want to try it out.