feat(mocks): Mark mock objects @Injectable()
Make mock objects `@Injectable()` to allow using them in compiled tests. Closes #5576
This commit is contained in:
committed by
Jeremy Elbourn
parent
e9f873a365
commit
35e32bbea1
@@ -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[];
|
||||
|
||||
Reference in New Issue
Block a user