Skip to content

Commit

Permalink
removed test made obsolete by changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gwyneplaine committed Nov 23, 2017
1 parent 79eefba commit e48b82f
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions test/Select-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4172,23 +4172,6 @@ describe('Select', () => {

});

it('updates the active descendant after a selection using space bar', () => {

return expect(wrapper,
'with event', 'keyDown', ARROW_DOWN, 'on', <div className="Select-control" />,
'with event', 'keyDown', KEY_SPACE, 'on', <div className="Select-control" />,
'queried for', <input role="combobox" />)
.then(input => {

// [ 'three', 'two', 'one' ] is now selected,
// therefore in-focus should be 'four'

const activeId = input.attributes['aria-activedescendant'].value;
expect(ReactDOM.findDOMNode(instance), 'queried for first', '#' + activeId, 'to have text', 'label four');
});

});

it('expands the drop down when the space bar is pressed', () => {

return expect(wrapper,
Expand Down

0 comments on commit e48b82f

Please sign in to comment.