refactor: misc cleanup

This commit is contained in:
Victor Berchet 2016-06-22 14:50:12 -07:00
parent 398060d5ff
commit 5face35ae5
3 changed files with 4 additions and 9 deletions

View File

@ -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) {}
}

View File

@ -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';
}

View File

@ -14,7 +14,6 @@ class SpyTestObj extends SpyObject {
constructor() { super(TestObj); }
}
export function main() {
describe('testing', () => {
describe('equality', () => {