title: Angular + Typescript + JSPM (ES6 Modules) -> WallabyJS Configuration
body: <p>I'm trying to configure WallabyJs to work with JSPM and Typescript
  I tried following a <a href="https://github.com/wallabyjs/wallaby-jspm-sample" rel="nofollow">few</a> <a href="https://github.com/wallabyjs/wallaby-typescript-angular-seed" rel="nofollow">examples</a> found on Wallaby's Github account but couldn't make my setup work.</p>
  
  <p>I want to be able to write my tests using TS and ES6 Modules</p>
  
  <hr>
  
  <p>Here's my sample SpecFile:</p>
  
  <pre><code>/// &lt;reference path="../../typings/tsd.d.ts" /&gt;
  
  import * as ng from 'angular';
  
  describe('Test', () =&gt; {
    it('should work', () =&gt; {
      expect(true).toBe(true);
      console.log(ng);
  
    });
  });
  </code></pre>
  
  <h2><a href="http://pastebin.com/5q8WZrZA" rel="nofollow">Here's my current <code>wallaby.js</code> configuration</a></h2>
  
  <p>Note that it is based on a few different samples I found around and is pretty much all over the place</p>
  
  <p>With this config, I get this error:</p>
  
  <blockquote>
    <p>ReferenceError: Can't find variable: module
        at jspm_packages/github/angular/bower-angular-mocks@1.4.7.js:1</p>
    
    <p>TypeError: Unexpected anonymous System.register call.
        at jspm_packages/system.js:5
        at jspm_packages/system.js:5
        at jspm_packages/system.js:5
        at jspm_packages/system.js:4
        at jspm_packages/system.js:5</p>
    
    <p>Error: Module <a href="http://localhost:55533/app/src/app.spec.js" rel="nofollow">http://localhost:55533/app/src/app.spec.js</a> interpreted as global module format, but called System.register.
        at jspm_packages/system.js:5
        at jspm_packages/system.js:5
        at jspm_packages/system.js:5
        at jspm_packages/system.js:4
        at jspm_packages/system.js:4
        at jspm_packages/system.js:5</p>
  </blockquote>
  
  <hr>
  
  <h2>If I change the <code>module: 4</code> to <code>module: 1</code> in the compiler configuration, I get:</h2>
  
  <blockquote>
    <p>ReferenceError: Can't find variable: module
        at jspm_packages/github/angular/bower-angular-mocks@1.4.7.js:1</p>
    
    <p>ReferenceError: Can't find variable: require
        at app/src/app.spec.ts:3</p>
  </blockquote>