diff --git a/lib/components/__tests__/Tray-test.js b/lib/components/__tests__/Tray-test.js index c3b0dd4..73cd830 100644 --- a/lib/components/__tests__/Tray-test.js +++ b/lib/components/__tests__/Tray-test.js @@ -117,9 +117,9 @@ describe('react-tray', function() { }); }); - describe('focusAfterOpen prop', function() { + describe('elementToFocus prop', function() { beforeEach(function(done) { - const props = {isOpen: true, onBlur: function() {}, closeTimeoutMS: 0, maintainFocus: true, focusAfterOpen: '#two'}; + const props = {isOpen: true, onBlur: function() {}, closeTimeoutMS: 0, maintainFocus: true, elementToFocus: '#two'}; const children = (