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 22, 2017
1 parent b671637 commit b4040bc
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 b4040bc

Please sign in to comment.