TODO: Add testing example's
bsliran opened this issue · comments
Liran Ben Shabat commented
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
Dotan Simha commented
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.