Urigo / angular-meteor-base

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TODO: Add testing example's

bsliran opened this issue · comments

Add testing examples for both client and server side

  • Tests framework + TypeScript
  • Mocha + Chai
  • Tests main file (initiliazer.test.ts)
  • Create Polyfills for angular2 framework base
  • DemoComponent tests (with Angular utils)
  • DemoDataService tests (with Meteor utils)
  • Server-side tests

Tests polyfills are here: https://github.com/dotansimha/angular2-meteor-tests-polyfills
We need them because Angular 2 assumes that when you create the tests providers, it also have jasmine global so I needed to create a polyfill that mocks this.