@@ -45,7 +45,7 @@ describe('MdCheckbox', () => {
4545 let inputElement : HTMLInputElement ;
4646 let labelElement : HTMLLabelElement ;
4747
48- beforeEach ( async ( ( ) => {
48+ beforeEach ( ( ) => {
4949 fixture = TestBed . createComponent ( SingleCheckbox ) ;
5050 fixture . detectChanges ( ) ;
5151
@@ -55,7 +55,7 @@ describe('MdCheckbox', () => {
5555 testComponent = fixture . debugElement . componentInstance ;
5656 inputElement = < HTMLInputElement > checkboxNativeElement . querySelector ( 'input' ) ;
5757 labelElement = < HTMLLabelElement > checkboxNativeElement . querySelector ( 'label' ) ;
58- } ) ) ;
58+ } ) ;
5959
6060 it ( 'should add and remove the checked state' , ( ) => {
6161 expect ( checkboxInstance . checked ) . toBe ( false ) ;
@@ -318,7 +318,7 @@ describe('MdCheckbox', () => {
318318 let inputElement : HTMLInputElement ;
319319 let labelElement : HTMLLabelElement ;
320320
321- beforeEach ( async ( ( ) => {
321+ beforeEach ( ( ) => {
322322 fixture = TestBed . createComponent ( CheckboxWithChangeEvent ) ;
323323 fixture . detectChanges ( ) ;
324324
@@ -328,7 +328,7 @@ describe('MdCheckbox', () => {
328328 testComponent = fixture . debugElement . componentInstance ;
329329 inputElement = < HTMLInputElement > checkboxNativeElement . querySelector ( 'input' ) ;
330330 labelElement = < HTMLLabelElement > checkboxNativeElement . querySelector ( 'label' ) ;
331- } ) ) ;
331+ } ) ;
332332
333333 it ( 'should emit the event to the change observable' , ( ) => {
334334 let changeSpy = jasmine . createSpy ( 'onChangeObservable' ) ;
@@ -370,41 +370,41 @@ describe('MdCheckbox', () => {
370370 let checkboxNativeElement : HTMLElement ;
371371 let inputElement : HTMLInputElement ;
372372
373- it ( 'should use the provided aria-label' , async ( ( ) => {
373+ it ( 'should use the provided aria-label' , ( ) => {
374374 fixture = TestBed . createComponent ( CheckboxWithAriaLabel ) ;
375375 checkboxDebugElement = fixture . debugElement . query ( By . directive ( MdCheckbox ) ) ;
376376 checkboxNativeElement = checkboxDebugElement . nativeElement ;
377377 inputElement = < HTMLInputElement > checkboxNativeElement . querySelector ( 'input' ) ;
378378
379379 fixture . detectChanges ( ) ;
380380 expect ( inputElement . getAttribute ( 'aria-label' ) ) . toBe ( 'Super effective' ) ;
381- } ) ) ;
381+ } ) ;
382382 } ) ;
383383
384384 describe ( 'with provided aria-labelledby ' , ( ) => {
385385 let checkboxDebugElement : DebugElement ;
386386 let checkboxNativeElement : HTMLElement ;
387387 let inputElement : HTMLInputElement ;
388388
389- it ( 'should use the provided aria-labelledby' , async ( ( ) => {
389+ it ( 'should use the provided aria-labelledby' , ( ) => {
390390 fixture = TestBed . createComponent ( CheckboxWithAriaLabelledby ) ;
391391 checkboxDebugElement = fixture . debugElement . query ( By . directive ( MdCheckbox ) ) ;
392392 checkboxNativeElement = checkboxDebugElement . nativeElement ;
393393 inputElement = < HTMLInputElement > checkboxNativeElement . querySelector ( 'input' ) ;
394394
395395 fixture . detectChanges ( ) ;
396396 expect ( inputElement . getAttribute ( 'aria-labelledby' ) ) . toBe ( 'some-id' ) ;
397- } ) ) ;
397+ } ) ;
398398
399- it ( 'should not assign aria-labelledby if none is provided' , async ( ( ) => {
399+ it ( 'should not assign aria-labelledby if none is provided' , ( ) => {
400400 fixture = TestBed . createComponent ( SingleCheckbox ) ;
401401 checkboxDebugElement = fixture . debugElement . query ( By . directive ( MdCheckbox ) ) ;
402402 checkboxNativeElement = checkboxDebugElement . nativeElement ;
403403 inputElement = < HTMLInputElement > checkboxNativeElement . querySelector ( 'input' ) ;
404404
405405 fixture . detectChanges ( ) ;
406406 expect ( inputElement . getAttribute ( 'aria-labelledby' ) ) . toBe ( null ) ;
407- } ) ) ;
407+ } ) ;
408408 } ) ;
409409
410410 describe ( 'with provided tabIndex' , ( ) => {
@@ -414,7 +414,7 @@ describe('MdCheckbox', () => {
414414 let inputElement : HTMLInputElement ;
415415 let labelElement : HTMLLabelElement ;
416416
417- beforeEach ( async ( ( ) => {
417+ beforeEach ( ( ) => {
418418 fixture = TestBed . createComponent ( CheckboxWithTabIndex ) ;
419419 fixture . detectChanges ( ) ;
420420
@@ -423,11 +423,11 @@ describe('MdCheckbox', () => {
423423 checkboxNativeElement = checkboxDebugElement . nativeElement ;
424424 inputElement = < HTMLInputElement > checkboxNativeElement . querySelector ( 'input' ) ;
425425 labelElement = < HTMLLabelElement > checkboxNativeElement . querySelector ( 'label' ) ;
426- } ) ) ;
426+ } ) ;
427427
428- it ( 'should preserve any given tabIndex' , async ( ( ) => {
428+ it ( 'should preserve any given tabIndex' , ( ) => {
429429 expect ( inputElement . tabIndex ) . toBe ( 7 ) ;
430- } ) ) ;
430+ } ) ;
431431
432432 it ( 'should preserve given tabIndex when the checkbox is disabled then enabled' , ( ) => {
433433 testComponent . isDisabled = true ;
@@ -444,10 +444,10 @@ describe('MdCheckbox', () => {
444444 } ) ;
445445
446446 describe ( 'with multiple checkboxes' , ( ) => {
447- beforeEach ( async ( ( ) => {
447+ beforeEach ( ( ) => {
448448 fixture = TestBed . createComponent ( MultipleCheckboxes ) ;
449449 fixture . detectChanges ( ) ;
450- } ) ) ;
450+ } ) ;
451451
452452 it ( 'should assign a unique id to each checkbox' , ( ) => {
453453 let [ firstId , secondId ] =
@@ -461,10 +461,10 @@ describe('MdCheckbox', () => {
461461 } ) ;
462462
463463 describe ( 'with ngModel' , ( ) => {
464- beforeEach ( async ( ( ) => {
464+ beforeEach ( ( ) => {
465465 fixture = TestBed . createComponent ( CheckboxWithFormDirectives ) ;
466466 fixture . detectChanges ( ) ;
467- } ) ) ;
467+ } ) ;
468468
469469 it ( 'should be in pristine, untouched, and valid states initially' , fakeAsync ( ( ) => {
470470 flushMicrotasks ( ) ;
@@ -482,17 +482,17 @@ describe('MdCheckbox', () => {
482482 } ) ;
483483
484484 describe ( 'with name attribute' , ( ) => {
485- beforeEach ( async ( ( ) => {
485+ beforeEach ( ( ) => {
486486 fixture = TestBed . createComponent ( CheckboxWithNameAttribute ) ;
487487 fixture . detectChanges ( ) ;
488- } ) ) ;
488+ } ) ;
489489
490- it ( 'should forward name value to input element' , fakeAsync ( ( ) => {
490+ it ( 'should forward name value to input element' , ( ) => {
491491 let checkboxElement = fixture . debugElement . query ( By . directive ( MdCheckbox ) ) ;
492492 let inputElement = < HTMLInputElement > checkboxElement . nativeElement . querySelector ( 'input' ) ;
493493
494494 expect ( inputElement . getAttribute ( 'name' ) ) . toBe ( 'test-name' ) ;
495- } ) ) ;
495+ } ) ;
496496 } ) ;
497497} ) ;
498498
0 commit comments