Closed davisford closed 11 years ago
All mocha-phantomjs options are supported.
Just pass them like so:
options: {
timeout: 5000,
view: '800x600'
}
Let me know if that doesnt work for you.
I'm trying to see if an issue I'm having is caused by ariya/phantomjs#10930.
What would be the correct way to set a header for Accept-Encoding: gzip;q=0
?
This should do the trick:
options: {
header: 'Accept-Encoding=gzip;q=0'
}
Are the only two pass-through options that are supported the list of
urls
and thereporter
?mocha-phantomjs supports quite a few other options, is there any way to just allow a pass-through via grunt so they are all supported?