refactor: misc cleanup
This commit is contained in:
parent
398060d5ff
commit
5face35ae5
|
@ -142,6 +142,6 @@ class _MockComponentRef extends ComponentRef_<any> {
|
|||
}
|
||||
|
||||
class _MockConsole implements Console {
|
||||
log(message: any /** TODO #9100 */) {}
|
||||
warn(message: any /** TODO #9100 */) {}
|
||||
log(message: string) {}
|
||||
warn(message: string) {}
|
||||
}
|
||||
|
|
|
@ -5,8 +5,6 @@ import {asNativeElements} from '@angular/core';
|
|||
import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal';
|
||||
import {AsyncTestCompleter} from '@angular/core/testing/testing_internal';
|
||||
|
||||
import {Type} from '../src/facade/lang';
|
||||
|
||||
export function main() {
|
||||
describe('forwardRef integration', function() {
|
||||
it('should instantiate components which are declared using forwardRef',
|
||||
|
@ -49,12 +47,10 @@ class Door {
|
|||
}
|
||||
|
||||
class Frame {
|
||||
name: string;
|
||||
constructor() { this.name = 'frame'; }
|
||||
name: string = 'frame';
|
||||
}
|
||||
|
||||
@Directive({selector: 'lock'})
|
||||
class Lock {
|
||||
name: string;
|
||||
constructor() { this.name = 'lock'; }
|
||||
name: string = 'lock';
|
||||
}
|
||||
|
|
|
@ -14,7 +14,6 @@ class SpyTestObj extends SpyObject {
|
|||
constructor() { super(TestObj); }
|
||||
}
|
||||
|
||||
|
||||
export function main() {
|
||||
describe('testing', () => {
|
||||
describe('equality', () => {
|
||||
|
|
Loading…
Reference in New Issue