Skip to content

Commit

Permalink
fixup! fix(ivy): reset binding index before executing a template in `…
Browse files Browse the repository at this point in the history
…refreshView` call
  • Loading branch information
AndrewKushnir committed Aug 20, 2019
1 parent 81781da commit a236fec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/core/test/acceptance/change_detection_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,7 @@ describe('change detection', () => {
expect(fixture.nativeElement.textContent).toBe('');

// even though we set "visible" to `true`, we do not expect any content to be displayed,
// since
// the flag is overridden in `ngAfterViewInit` back to `false`.
// since the flag is overridden in `ngAfterViewInit` back to `false`
fixture.componentInstance.visible = true;
fixture.detectChanges();
expect(fixture.nativeElement.textContent).toBe('');
Expand Down

0 comments on commit a236fec

Please sign in to comment.