grunt-mocha-phantomjs icon indicating copy to clipboard operation
grunt-mocha-phantomjs copied to clipboard

How to handle `onConfirm` in grunt-mocha-phantomjs?

Open rjcorwin opened this issue 9 years ago • 1 comments

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.

rjcorwin avatar Jan 12 '16 20:01 rjcorwin

If there is a way, I would be happy to document it.

rjcorwin avatar Jan 12 '16 20:01 rjcorwin