title: Angular 2 Unit Tests: Cannot find name 'describe'
body: <p>I'm following <a href="https://angular.io/docs/ts/latest/guide/testing.html#!#jasmine-101" rel="noreferrer">this tutorial from angular.io</a></p>
  <p>As they said, I've created hero.spec.ts file to create unit tests:</p>
  <pre><code>import { Hero } from './hero';
  describe('Hero', () =&gt; {
    it('has name', () =&gt; {
      let hero: Hero = {id: 1, name: 'Super Cat'};
      expect(hero.name).toEqual('Super Cat');
    });
    it('has id', () =&gt; {
      let hero: Hero = {id: 1, name: 'Super Cat'};
      expect(hero.id).toEqual(1);
    });
  });
  </code></pre>
  <p>Unit Tests work like a charm. The problem is: I see some errors, which are mentioned in tutorial:</p>
  <blockquote>
  <p>Our editor and the compiler may complain that they don’t know what <code>it</code>
  and <code>expect</code> are because they lack the typing files that describe
  Jasmine. We can ignore those annoying complaints for now as they are
  harmless.</p>
  </blockquote>
  <p>And they indeed ignored it. Even though those errors are harmless, it doesn't look good in my output console when I receive bunch of them.</p>
  <p>Example of what I get:</p>
  <blockquote>
  <p>Cannot find name 'describe'.</p>
  <p>Cannot find name 'it'.</p>
  <p>Cannot find name 'expect'.</p>
  </blockquote>
  <p>What can I do to fix it?</p>