Skip to content

Commit

Permalink
Remove whitespace line
Browse files Browse the repository at this point in the history
  • Loading branch information
devversion committed Oct 2, 2016
1 parent 4573474 commit 927f2b1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/lib/slide-toggle/slide-toggle.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,18 +408,11 @@ describe('MdSlideToggle', () => {
let slideToggleControl: NgControl;
let slideThumbContainer: HTMLElement;

// This initialization is async() because it needs to wait for ngModel to set the initial value.
beforeEach(async(() => {
fixture = TestBed.createComponent(SlideToggleTestApp);

testComponent = fixture.debugElement.componentInstance;

// Enable jasmine spies on event functions, which may trigger at initialization
// of the slide-toggle component.
spyOn(fixture.debugElement.componentInstance, 'onSlideChange').and.callThrough();
spyOn(fixture.debugElement.componentInstance, 'onSlideClick').and.callThrough();

// Initialize the slide-toggle component, by triggering the first change detection cycle.
fixture.detectChanges();

let slideToggleDebug = fixture.debugElement.query(By.css('md-slide-toggle'));
Expand Down Expand Up @@ -508,7 +501,6 @@ function dispatchFocusChangeEvent(eventName: string, element: HTMLElement): void
element.dispatchEvent(event);
}


@Component({
selector: 'slide-toggle-test-app',
template: `
Expand Down

0 comments on commit 927f2b1

Please sign in to comment.