grunt-mocha-phantomjs
grunt-mocha-phantomjs copied to clipboard
How to handle `onConfirm` in grunt-mocha-phantomjs?
Hi there, I was wondering if there is a grunt-mocha-phantomjs
best practice for using the phantomjs onConfirm
callback. I would like to test some things that trigger window.confirm
. Maybe writing tests for window.confirm
isn't really a thing.
If there is a way, I would be happy to document it.