How to get a full page screenshot with JS-Jest?

Is it possible to get a full page screenshot with Jest?

Hi Devan,

To get a full page screenshot with Jest, here’s the script to achieve this:

var page = require('webpage').create();
page.open('http://github.com/', function () {
    page.render('github.png');
    phantom.exit();
});