Skip to content

Commit

Permalink
[fixed] Failing test for elementToFocus
Browse files Browse the repository at this point in the history
  • Loading branch information
claydiffrient committed Jul 11, 2016
1 parent 3300f2c commit d860b32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/__tests__/Tray-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
<div>
<a href="#" id="one">One</a>
Expand Down

0 comments on commit d860b32

Please sign in to comment.