title: is it possible to perform e2e testing of a pure js class with gulp-jasmine-phantom
body: <p>Specific scenario is that, I have a es6 class can add class to a dom upon scrolling to certain point on the screen. So to simulate that scrolling I realized I actually need to create page for that. I found that use phantomjs is the most comment way. I also found that people use <a href="https://github.com/qindio/headless-jasmine-sample" rel="nofollow">jasmine + phantom for similar e2e</a>.</p>
  
  <p>Though I wonder when I use <code>gulp-jasmine-phantom</code> <a href="https://www.npmjs.com/package/gulp-jasmine-phantom" rel="nofollow">from npm</a>, am I able to also do e2s as the above example did? How to set it up? Because I did not see similar setup of using phantomjs calling the test file and the <code>.html</code> file for the e2e testing.</p>
  
  <p>If this is not the right approach, should I give up running phantomjs based e2e test with gulp?</p>