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 {
|
class _MockConsole implements Console {
|
||||||
log(message: any /** TODO #9100 */) {}
|
log(message: string) {}
|
||||||
warn(message: any /** TODO #9100 */) {}
|
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 {beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal';
|
||||||
import {AsyncTestCompleter} from '@angular/core/testing/testing_internal';
|
import {AsyncTestCompleter} from '@angular/core/testing/testing_internal';
|
||||||
|
|
||||||
import {Type} from '../src/facade/lang';
|
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
describe('forwardRef integration', function() {
|
describe('forwardRef integration', function() {
|
||||||
it('should instantiate components which are declared using forwardRef',
|
it('should instantiate components which are declared using forwardRef',
|
||||||
@ -49,12 +47,10 @@ class Door {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class Frame {
|
class Frame {
|
||||||
name: string;
|
name: string = 'frame';
|
||||||
constructor() { this.name = 'frame'; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Directive({selector: 'lock'})
|
@Directive({selector: 'lock'})
|
||||||
class Lock {
|
class Lock {
|
||||||
name: string;
|
name: string = 'lock';
|
||||||
constructor() { this.name = 'lock'; }
|
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,6 @@ class SpyTestObj extends SpyObject {
|
|||||||
constructor() { super(TestObj); }
|
constructor() { super(TestObj); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export function main() {
|
export function main() {
|
||||||
describe('testing', () => {
|
describe('testing', () => {
|
||||||
describe('equality', () => {
|
describe('equality', () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user