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 @@ -264,7 +264,7 @@ describe('Transition', () => {
264
264
265
265
return (
266
266
< Transition
267
- ref = " transition"
267
+ ref = { transition => this . transition = this . transition || transition }
268
268
mountOnEnter
269
269
in = { this . state . in }
270
270
timeout = { 10 }
@@ -276,7 +276,7 @@ describe('Transition', () => {
276
276
}
277
277
278
278
getStatus = ( ) => {
279
- return this . refs . transition . state . status
279
+ return this . transition . state . status
280
280
}
281
281
}
282
282
@@ -337,7 +337,7 @@ describe('Transition', () => {
337
337
338
338
return (
339
339
< Transition
340
- ref = " transition"
340
+ ref = { transition => this . transition = this . transition || transition }
341
341
unmountOnExit
342
342
in = { this . state . in }
343
343
timeout = { 10 }
@@ -349,7 +349,7 @@ describe('Transition', () => {
349
349
}
350
350
351
351
getStatus = ( ) => {
352
- return this . refs . transition . state . status
352
+ return this . transition . state . status
353
353
}
354
354
}
355
355
You can’t perform that action at this time.
0 commit comments