@@ -633,15 +633,15 @@ describe('angular', function() {
633
633
it ( 'should return empty string when jq is enabled manually via [ng-jq] with empty string' , function ( ) {
634
634
element . setAttribute ( 'ng-jq' , '' ) ;
635
635
spyOn ( document , 'querySelector' ) . andCallFake ( function ( selector ) {
636
- if ( selector == '[ng-jq]' ) return element ;
636
+ if ( selector === '[ng-jq]' ) return element ;
637
637
} ) ;
638
638
expect ( jq ( ) ) . toBe ( '' ) ;
639
639
} ) ;
640
640
641
641
it ( 'should return empty string when jq is enabled manually via [data-ng-jq] with empty string' , function ( ) {
642
642
element . setAttribute ( 'data-ng-jq' , '' ) ;
643
643
spyOn ( document , 'querySelector' ) . andCallFake ( function ( selector ) {
644
- if ( selector == '[data-ng-jq]' ) return element ;
644
+ if ( selector === '[data-ng-jq]' ) return element ;
645
645
} ) ;
646
646
expect ( jq ( ) ) . toBe ( '' ) ;
647
647
expect ( document . querySelector ) . toHaveBeenCalledWith ( '[data-ng-jq]' ) ;
@@ -650,7 +650,7 @@ describe('angular', function() {
650
650
it ( 'should return empty string when jq is enabled manually via [x-ng-jq] with empty string' , function ( ) {
651
651
element . setAttribute ( 'x-ng-jq' , '' ) ;
652
652
spyOn ( document , 'querySelector' ) . andCallFake ( function ( selector ) {
653
- if ( selector == '[x-ng-jq]' ) return element ;
653
+ if ( selector === '[x-ng-jq]' ) return element ;
654
654
} ) ;
655
655
expect ( jq ( ) ) . toBe ( '' ) ;
656
656
expect ( document . querySelector ) . toHaveBeenCalledWith ( '[x-ng-jq]' ) ;
@@ -659,7 +659,7 @@ describe('angular', function() {
659
659
it ( 'should return empty string when jq is enabled manually via [ng:jq] with empty string' , function ( ) {
660
660
element . setAttribute ( 'ng:jq' , '' ) ;
661
661
spyOn ( document , 'querySelector' ) . andCallFake ( function ( selector ) {
662
- if ( selector == '[ng\\:jq]' ) return element ;
662
+ if ( selector === '[ng\\:jq]' ) return element ;
663
663
} ) ;
664
664
expect ( jq ( ) ) . toBe ( '' ) ;
665
665
expect ( document . querySelector ) . toHaveBeenCalledWith ( '[ng\\:jq]' ) ;
@@ -668,7 +668,7 @@ describe('angular', function() {
668
668
it ( 'should return "jquery" when jq is enabled manually via [ng-jq] with value "jQuery"' , function ( ) {
669
669
element . setAttribute ( 'ng-jq' , 'jQuery' ) ;
670
670
spyOn ( document , 'querySelector' ) . andCallFake ( function ( selector ) {
671
- if ( selector == '[ng-jq]' ) return element ;
671
+ if ( selector === '[ng-jq]' ) return element ;
672
672
} ) ;
673
673
expect ( jq ( ) ) . toBe ( 'jQuery' ) ;
674
674
expect ( document . querySelector ) . toHaveBeenCalledWith ( '[ng-jq]' ) ;
@@ -677,7 +677,7 @@ describe('angular', function() {
677
677
it ( 'should return "jquery" when jq is enabled manually via [data-ng-jq] with value "jQuery"' , function ( ) {
678
678
element . setAttribute ( 'data-ng-jq' , 'jQuery' ) ;
679
679
spyOn ( document , 'querySelector' ) . andCallFake ( function ( selector ) {
680
- if ( selector == '[data-ng-jq]' ) return element ;
680
+ if ( selector === '[data-ng-jq]' ) return element ;
681
681
} ) ;
682
682
expect ( jq ( ) ) . toBe ( 'jQuery' ) ;
683
683
expect ( document . querySelector ) . toHaveBeenCalledWith ( '[data-ng-jq]' ) ;
@@ -686,7 +686,7 @@ describe('angular', function() {
686
686
it ( 'should return "jquery" when jq is enabled manually via [x-ng-jq] with value "jQuery"' , function ( ) {
687
687
element . setAttribute ( 'x-ng-jq' , 'jQuery' ) ;
688
688
spyOn ( document , 'querySelector' ) . andCallFake ( function ( selector ) {
689
- if ( selector == '[x-ng-jq]' ) return element ;
689
+ if ( selector === '[x-ng-jq]' ) return element ;
690
690
} ) ;
691
691
expect ( jq ( ) ) . toBe ( 'jQuery' ) ;
692
692
expect ( document . querySelector ) . toHaveBeenCalledWith ( '[x-ng-jq]' ) ;
@@ -695,7 +695,7 @@ describe('angular', function() {
695
695
it ( 'should return "jquery" when jq is enabled manually via [ng:jq] with value "jQuery"' , function ( ) {
696
696
element . setAttribute ( 'ng:jq' , 'jQuery' ) ;
697
697
spyOn ( document , 'querySelector' ) . andCallFake ( function ( selector ) {
698
- if ( selector == '[ng\\:jq]' ) return element ;
698
+ if ( selector === '[ng\\:jq]' ) return element ;
699
699
} ) ;
700
700
expect ( jq ( ) ) . toBe ( 'jQuery' ) ;
701
701
expect ( document . querySelector ) . toHaveBeenCalledWith ( '[ng\\:jq]' ) ;
0 commit comments