test(TestBed): initial implementation

This commit is contained in:
Victor Berchet
2015-03-30 16:37:33 +02:00
parent 57e308dd46
commit 438c2b31e4
9 changed files with 218 additions and 13 deletions

View File

@ -0,0 +1,15 @@
import {VmTurnZone} from 'angular2/src/core/zone/vm_turn_zone';
export class MockVmTurnZone extends VmTurnZone {
constructor() {
super({enableLongStackTrace: false});
}
run(fn) {
fn();
}
runOutsideAngular(fn) {
fn();
}
}