@@ -956,35 +956,35 @@ moduleFor(
956956 }
957957 ) ;
958958
959- assert . ok ( ! isEmpty ( instance ) , 'a instance was created' ) ;
959+ assert . ok ( instance , 'the component instance exinstance was created' ) ;
960960 assert . equal ( previousInstance , undefined , 'no previous component exists' ) ;
961961 assert . equal ( initCount , 1 , 'the component was constructed exactly 1 time' ) ;
962962 assert . equal ( this . $ ( ) . text ( ) , 'open' , 'the components text is "open"' ) ;
963963
964964 runTask ( ( ) => this . rerender ( ) ) ;
965965
966- assert . ok ( ! isEmpty ( instance ) , 'the component instance exists' ) ;
966+ assert . ok ( instance , 'the component instance exists' ) ;
967967 assert . equal ( previousInstance , undefined , 'no previous component exists' ) ;
968968 assert . equal ( initCount , 1 , 'the component was constructed exactly 1 time' ) ;
969969 assert . equal ( this . $ ( ) . text ( ) , 'open' , 'the components text is "open"' ) ;
970970
971971 runTask ( ( ) => this . context . set ( 'isOpen' , false ) ) ;
972972
973- assert . ok ( ! isEmpty ( instance ) , 'the component instance exists' ) ;
973+ assert . ok ( instance , 'the component instance exists' ) ;
974974 assert . equal ( previousInstance , undefined , 'no previous component exists' ) ;
975975 assert . equal ( initCount , 1 , 'the component was constructed exactly 1 time' ) ;
976976 assert . equal ( this . $ ( ) . text ( ) , 'closed' , 'the component text is "closed"' ) ;
977977
978978 runTask ( ( ) => this . rerender ( ) ) ;
979979
980- assert . ok ( ! isEmpty ( instance ) , 'the component instance exists' ) ;
980+ assert . ok ( instance , 'the component instance exists' ) ;
981981 assert . equal ( previousInstance , undefined , 'no previous component exists' ) ;
982982 assert . equal ( initCount , 1 , 'the component was constructed exactly 1 time' ) ;
983983 assert . equal ( this . $ ( ) . text ( ) , 'closed' , 'the component text is "closed"' ) ;
984984
985985 runTask ( ( ) => this . context . set ( 'isOpen' , true ) ) ;
986986
987- assert . ok ( ! isEmpty ( instance ) , 'the component instance exists' ) ;
987+ assert . ok ( instance , 'the component instance exists' ) ;
988988 assert . equal ( previousInstance , undefined , 'no previous component exists' ) ;
989989 assert . equal ( initCount , 1 , 'the component was constructed exactly 1 time' ) ;
990990 assert . equal ( this . $ ( ) . text ( ) , 'open' , 'the components text is "open"' ) ;
@@ -1021,35 +1021,35 @@ moduleFor(
10211021 }
10221022 ) ;
10231023
1024- assert . ok ( ! isEmpty ( instance ) , 'a instance was created' ) ;
1024+ assert . ok ( instance , 'a instance was created' ) ;
10251025 assert . equal ( previousInstance , undefined , 'no previous component exists' ) ;
10261026 assert . equal ( initCount , 1 , 'the component was constructed exactly 1 time' ) ;
10271027 assert . equal ( this . $ ( ) . text ( ) , 'open' , 'the components text is "open"' ) ;
10281028
10291029 runTask ( ( ) => this . rerender ( ) ) ;
10301030
1031- assert . ok ( ! isEmpty ( instance ) , 'the component instance exists' ) ;
1031+ assert . ok ( instance , 'the component instance exists' ) ;
10321032 assert . equal ( previousInstance , undefined , 'no previous component exists' ) ;
10331033 assert . equal ( initCount , 1 , 'the component was constructed exactly 1 time' ) ;
10341034 assert . equal ( this . $ ( ) . text ( ) , 'open' , 'the components text is "open"' ) ;
10351035
10361036 runTask ( ( ) => this . context . set ( 'isOpen' , false ) ) ;
10371037
1038- assert . ok ( ! isEmpty ( instance ) , 'the component instance exists' ) ;
1038+ assert . ok ( instance , 'the component instance exists' ) ;
10391039 assert . equal ( previousInstance , undefined , 'no previous component exists' ) ;
10401040 assert . equal ( initCount , 1 , 'the component was constructed exactly 1 time' ) ;
10411041 assert . equal ( this . $ ( ) . text ( ) , 'closed' , 'the component text is "closed"' ) ;
10421042
10431043 runTask ( ( ) => this . rerender ( ) ) ;
10441044
1045- assert . ok ( ! isEmpty ( instance ) , 'the component instance exists' ) ;
1045+ assert . ok ( instance , 'the component instance exists' ) ;
10461046 assert . equal ( previousInstance , undefined , 'no previous component exists' ) ;
10471047 assert . equal ( initCount , 1 , 'the component was constructed exactly 1 time' ) ;
10481048 assert . equal ( this . $ ( ) . text ( ) , 'closed' , 'the component text is "closed"' ) ;
10491049
10501050 runTask ( ( ) => this . context . set ( 'isOpen' , true ) ) ;
10511051
1052- assert . ok ( ! isEmpty ( instance ) , 'the component instance exists' ) ;
1052+ assert . ok ( instance , 'the component instance exists' ) ;
10531053 assert . equal ( previousInstance , undefined , 'no previous component exists' ) ;
10541054 assert . equal ( initCount , 1 , 'the component was constructed exactly 1 time' ) ;
10551055 assert . equal ( this . $ ( ) . text ( ) , 'open' , 'the components text is "open"' ) ;
@@ -1099,22 +1099,22 @@ moduleFor(
10991099 }
11001100 ) ;
11011101
1102- assert . ok ( ! isEmpty ( instance ) , 'a instance was created' ) ;
1102+ assert . ok ( instance , 'a instance was created' ) ;
11031103 assert . equal ( previousInstance , undefined , 'there is no previous instance' ) ;
11041104 assert . equal ( initCount , 1 , 'the component was constructed exactly 1 time' ) ;
11051105 assert . equal ( this . $ ( ) . text ( ) , 'my-comp: open' ) ;
11061106
11071107 runTask ( ( ) => this . rerender ( ) ) ;
11081108
1109- assert . ok ( ! isEmpty ( instance ) , 'a instance exists after rerender' ) ;
1109+ assert . ok ( instance , 'a instance exists after rerender' ) ;
11101110 assert . equal ( previousInstance , undefined , 'there is no previous instance after rerender' ) ;
11111111 assert . equal ( initCount , 1 , 'the component was constructed exactly 1 time' ) ;
11121112 assert . equal ( this . $ ( ) . text ( ) , 'my-comp: open' ) ;
11131113
11141114 runTask ( ( ) => this . context . set ( 'compName' , 'your-comp' ) ) ;
11151115
1116- assert . ok ( ! isEmpty ( instance ) , 'an instance was created after component name changed' ) ;
1117- assert . ok ( ! isEmpty ( previousInstance ) , 'a previous instance now exists' ) ;
1116+ assert . ok ( instance , 'an instance was created after component name changed' ) ;
1117+ assert . ok ( previousInstance , 'a previous instance now exists' ) ;
11181118 assert . notEqual (
11191119 instance ,
11201120 previousInstance ,
@@ -1125,11 +1125,8 @@ moduleFor(
11251125
11261126 runTask ( ( ) => this . rerender ( ) ) ;
11271127
1128- assert . ok (
1129- ! isEmpty ( instance ) ,
1130- 'an instance was created after component name changed (rerender)'
1131- ) ;
1132- assert . ok ( ! isEmpty ( previousInstance ) , 'a previous instance now exists (rerender)' ) ;
1128+ assert . ok ( instance , 'an instance was created after component name changed (rerender)' ) ;
1129+ assert . ok ( previousInstance , 'a previous instance now exists (rerender)' ) ;
11331130 assert . notEqual (
11341131 instance ,
11351132 previousInstance ,
@@ -1140,8 +1137,8 @@ moduleFor(
11401137
11411138 runTask ( ( ) => this . context . set ( 'compName' , 'my-comp' ) ) ;
11421139
1143- assert . ok ( ! isEmpty ( instance ) , 'an instance was created after component name changed' ) ;
1144- assert . ok ( ! isEmpty ( previousInstance ) , 'a previous instance still exists' ) ;
1140+ assert . ok ( instance , 'an instance was created after component name changed' ) ;
1141+ assert . ok ( previousInstance , 'a previous instance still exists' ) ;
11451142 assert . notEqual (
11461143 instance ,
11471144 previousInstance ,
0 commit comments