Skip to content

Commit

Permalink
test(Dropdown): begin fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
levithomason committed Feb 21, 2017
1 parent d0fac85 commit faa39c3
Show file tree
Hide file tree
Showing 2 changed files with 226 additions and 225 deletions.
5 changes: 3 additions & 2 deletions src/modules/Dropdown/Dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -1019,8 +1019,9 @@ export default class Dropdown extends Component {
<option value='' />
{_.map(items, item => createShorthand(
'option',
val => ({ key: val, children: val, value: val }),
item.value
// we know mapValueToProps here is never used since we're always passing props
() => null,
{ key: item.value, text: item.text, value: item.value }
))}
</select>
)
Expand Down
Loading

0 comments on commit faa39c3

Please sign in to comment.