javascript - Setting PhantomJS viewportSize in QUnit test -
i need test script @ different viewport sizes. in tests i'd change viewport size of phantomjs setting page.viewportsize. i'm running tests through grunt-contrib-qunit , phantomjs isn't accessible in test code. there way gain access it?
it's not possible on dist version.
grunt-contrib-qunit depends on grunt-lib-phantomjs, don't allow feature. but, an interesting commit (6 days ago) bdowling on github available. sure, you.
you can commit end edit qunit task try it.
patience, young padawan. patience!
Comments
Post a Comment