Skip to content

Commit

Permalink
test(Dropdown): restore tests
Browse files Browse the repository at this point in the history
  • Loading branch information
levithomason committed Jun 19, 2018
1 parent 82e17dc commit 57ada99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/specs/modules/Dropdown/Dropdown-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,6 @@ describe('Dropdown', () => {
.find('DropdownItem')
.at(_.random(options.length - 1))
.simulate('click')
item.simulate('click')

// text updated
wrapper.find('div.text').should.contain.text(item.text())
Expand Down Expand Up @@ -1081,7 +1080,6 @@ describe('Dropdown', () => {

// click item
const item = wrapper.find('DropdownItem').simulate('click')
item.simulate('click')

// text updated
wrapper.find('div.text').should.contain.text(item.text())
Expand Down Expand Up @@ -1204,6 +1202,7 @@ describe('Dropdown', () => {
const item = wrapper.find('DropdownItem').at(_.random(options.length - 1))

// open
wrapper.simulate('click')
dropdownMenuIsOpen()

// select item
Expand Down

0 comments on commit 57ada99

Please sign in to comment.