ccampbell / luna-testing

Simple, modern, opinionated JavaScript unit testing
https://craig.is/testing/code
MIT License
151 stars 6 forks source link

Make puppeteer optional #12

Open dandv opened 5 years ago

dandv commented 5 years ago

Re. this question and your reply,

Unfortunately, that wouldn’t be possible without having a completely separate repository since npm and package.json do not allow conditional dependencies.

Would it be possible to have puppeteer as a peerDependency?

I've also been looking for a less frustrating alternative to Jest, for testing Node code.