title: How to get Mocha\Chai working with NativeScript iOS
body: <p>I cannot seem to get {N} unit testing working on iOS...</p>
  
  <p>1) Requires http with NSAllowsArbitraryLoads.  Id rather not enable this, is there an exception to add that allows it just to be enabled for karma.</p>
  
  <p>2)  Error: Could not find module 'chai'. Computed path '/Users/steve/Library/Developer/CoreSimulato
  r/Devices/3607EE15-7B8D-46AE-9DE4-2526D5E91E1F/data/Containers/Bundle/Application/EBBB37FA-F126-499C-9B
  C1-D39179A0F58E/MyApp.app/app/tns_modules/chai'.</p>
  
  <p>This is all the test is</p>
  
  <pre><code>/// &lt;reference path="../../typings/mocha/mocha.d.ts" /&gt;
  
  import * as helpers from '../scripts/helpers';
  import {assert} from 'chai'
  
  describe('Hello World Sample Test:', function () {
      it('Counter should be 42 on start.', function () {
          assert.equal(42, 42); 
      });
  });
  </code></pre>
  
  <p>So TypeScript shows no errors, chai is definatly in my node_modules, get all the intellisense goodness.</p>
  
  <p>But indeed like the error says, it doesn't appear to be in that folder with all the other tns stuff (and my other plugins)?</p>
  
  <p>Does anyone have this working or is it a bug?</p>