I&#x27;v done an integration test example (no PhantomJS, just jsdom) if anyone is interested: <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;tomazzaman&#x2F;790bc607eb7ca3fd347f" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;tomazzaman&#x2F;790bc607eb7ca3fd347f</a>