title: Promise .then not triggering when using Karma + Jasmine + PhantomJs?
body: <p>My unit test is not working hitting the <code>then</code> function for some reason. Here is the test code.</p>
  
  <pre><code>describe("Basic promise test", () =&gt; {
      it("should trigger .then function", () =&gt; {
          var mock = jasmine.createSpy('some method');
          var promise = new Promise((resolve, reject)=&gt; {
              console.log("inside Promise");
              resolve('something');
              console.log("done!");
          });
          promise.then(mock);         
          promise.then(function () {   //neither works!
              mock();
              console.log("resolved"); //code does reach here but only after test fails
          });
  
          expect(mock).toHaveBeenCalled();
      });
  });
  </code></pre>
  
  <p>I've tried using 'babel-polyfill', 'es6-promise' and 'promise-polyfill' to no avail. What am I doing wrong?</p>
  
  <p>Jsfiddle for this: <a href="https://jsfiddle.net/L53zxe39/" rel="nofollow">https://jsfiddle.net/L53zxe39/</a></p>