chore: upgrade to ts2dart@0.9.9
This commit is contained in:

committed by
Martin Probst

parent
46cd868827
commit
d2527b504a
@ -351,7 +351,7 @@ export function main() {
|
||||
.then((fixture) => {
|
||||
fixture.detectChanges();
|
||||
|
||||
expect(fixture.debugElement.children[0].inject(Logger).log)
|
||||
expect((<Logger>(fixture.debugElement.children[0].inject(Logger))).log)
|
||||
.toEqual(['parent', 'nestedparent', 'child', 'nestedchild']);
|
||||
|
||||
async.done();
|
||||
|
@ -90,7 +90,7 @@ export function main() {
|
||||
view.debugElement.componentInstance.shouldShow = true;
|
||||
view.detectChanges();
|
||||
|
||||
var q = view.debugElement.children[0].references['q'];
|
||||
var q: NeedsContentChild = view.debugElement.children[0].references['q'];
|
||||
|
||||
expect(q.log).toEqual([["setter", "foo"], ["init", "foo"], ["check", "foo"]]);
|
||||
|
||||
@ -117,7 +117,7 @@ export function main() {
|
||||
.createAsync(MyComp)
|
||||
.then((view) => {
|
||||
view.detectChanges();
|
||||
var q = view.debugElement.children[0].references['q'];
|
||||
var q: NeedsViewChild = view.debugElement.children[0].references['q'];
|
||||
|
||||
expect(q.log).toEqual([["setter", "foo"], ["init", "foo"], ["check", "foo"]]);
|
||||
|
||||
@ -146,7 +146,7 @@ export function main() {
|
||||
.createAsync(MyComp)
|
||||
.then((view) => {
|
||||
view.detectChanges();
|
||||
var q = view.debugElement.children[0].references['q'];
|
||||
var q: NeedsViewChild = view.debugElement.children[0].references['q'];
|
||||
|
||||
expect(q.log).toEqual([["setter", "foo"], ["init", "foo"], ["check", "foo"]]);
|
||||
|
||||
|
Reference in New Issue
Block a user