From d860b32b6cd3614c3297f04425e25f3889406e6c Mon Sep 17 00:00:00 2001 From: Clay Diffrient Date: Mon, 11 Jul 2016 16:05:24 -0600 Subject: [PATCH] [fixed] Failing test for elementToFocus --- lib/components/__tests__/Tray-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = (
One