File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ describe('Transition', () => {
268
268
269
269
return (
270
270
< Transition
271
- ref = { transition => this . transition = this . transition || transition }
271
+ ref = " transition"
272
272
mountOnEnter
273
273
in = { this . state . in }
274
274
timeout = { 10 }
@@ -280,7 +280,7 @@ describe('Transition', () => {
280
280
}
281
281
282
282
getStatus = ( ) => {
283
- return this . transition . state . status
283
+ return this . refs . transition . state . status
284
284
}
285
285
}
286
286
@@ -341,7 +341,7 @@ describe('Transition', () => {
341
341
342
342
return (
343
343
< Transition
344
- ref = { transition => this . transition = this . transition || transition }
344
+ ref = " transition"
345
345
unmountOnExit
346
346
in = { this . state . in }
347
347
timeout = { 10 }
@@ -353,7 +353,7 @@ describe('Transition', () => {
353
353
}
354
354
355
355
getStatus = ( ) => {
356
- return this . transition . state . status
356
+ return this . refs . transition . state . status
357
357
}
358
358
}
359
359
You can’t perform that action at this time.
0 commit comments