feat(mocks): Mark mock objects @Injectable()

Make mock objects `@Injectable()` to allow using them in compiled tests.

Closes #5576
This commit is contained in:
Tim Blasi
2015-12-03 09:06:42 -08:00
committed by Jeremy Elbourn
parent e9f873a365
commit 35e32bbea1
8 changed files with 17 additions and 1 deletions
+2
View File
@@ -1,7 +1,9 @@
import {Injectable} from 'angular2/src/core/di';
import {ListWrapper, MapWrapper} from 'angular2/src/facade/collection';
import {DOM} from 'angular2/src/platform/dom/dom_adapter';
import {isPresent, isString, RegExpWrapper, StringWrapper, RegExp} from 'angular2/src/facade/lang';
@Injectable()
export class Log {
/** @internal */
_result: any[];