@@ -73,23 +73,23 @@ describe('A Link', function () {
73
73
expect ( a . className ) . toEqual ( 'dontKillMe' ) ;
74
74
}
75
75
76
- steps . push ( ( ) => {
76
+ steps . push ( function ( ) {
77
77
assertActive ( ) ;
78
78
TestLocation . push ( '/bar' ) ;
79
79
} ) ;
80
80
81
- steps . push ( ( ) => {
81
+ steps . push ( function ( ) {
82
82
assertInactive ( ) ;
83
83
TestLocation . push ( '/foo' ) ;
84
84
} ) ;
85
85
86
- steps . push ( ( ) => {
86
+ steps . push ( function ( ) {
87
87
assertActive ( ) ;
88
88
done ( ) ;
89
89
} ) ;
90
90
91
91
Router . run ( routes , TestLocation , function ( Handler ) {
92
- React . render ( < Handler /> , div , ( ) => {
92
+ React . render ( < Handler /> , div , function ( ) {
93
93
steps . shift ( ) ( ) ;
94
94
} ) ;
95
95
} ) ;
@@ -132,23 +132,23 @@ describe('A Link', function () {
132
132
expect ( a . style . color ) . toEqual ( 'white' ) ;
133
133
}
134
134
135
- steps . push ( ( ) => {
135
+ steps . push ( function ( ) {
136
136
assertActive ( ) ;
137
137
TestLocation . push ( '/bar' ) ;
138
138
} ) ;
139
139
140
- steps . push ( ( ) => {
140
+ steps . push ( function ( ) {
141
141
assertInactive ( ) ;
142
142
TestLocation . push ( '/foo' ) ;
143
143
} ) ;
144
144
145
- steps . push ( ( ) => {
145
+ steps . push ( function ( ) {
146
146
assertActive ( ) ;
147
147
done ( ) ;
148
148
} ) ;
149
149
150
150
Router . run ( routes , TestLocation , function ( Handler ) {
151
- React . render ( < Handler /> , div , ( ) => {
151
+ React . render ( < Handler /> , div , function ( ) {
152
152
steps . shift ( ) ( ) ;
153
153
} ) ;
154
154
} ) ;
0 commit comments