mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 00:06:06 +08:00
fix(participants): Update specs to reflect that spacing is now in CSS
This commit is contained in:
parent
9392422760
commit
e5bf37cf9e
|
@ -33,8 +33,8 @@ class EmojiPicker extends React.Component {
|
|||
this.props.emojiOptions.forEach((emojiOption, i) => {
|
||||
const emojiChar = emoji.get(emojiOption);
|
||||
const emojiClass = emojiIndex === i ? "btn btn-icon emoji-option" : "btn btn-icon";
|
||||
emojis.push(<button onMouseDown={() => this.onMouseDown(emojiChar)} className={emojiClass}>{emojiChar} :{emojiOption}:</button>);
|
||||
emojis.push(<br />);
|
||||
emojis.push(<button key={emojiChar} onMouseDown={() => this.onMouseDown(emojiChar)} className={emojiClass}>{emojiChar} :{emojiOption}:</button>);
|
||||
emojis.push(<br key={emojiChar+" br"} />);
|
||||
})
|
||||
}
|
||||
return (
|
||||
|
|
|
@ -90,7 +90,7 @@ describe "MessageParticipants", ->
|
|||
|
||||
it "uses full names", ->
|
||||
to = ReactTestUtils.findRenderedDOMComponentWithClass(@participants, "to-contact")
|
||||
expect(React.findDOMNode(to).innerText.trim()).toEqual "User Two <user2@nylas.com>"
|
||||
expect(React.findDOMNode(to).innerText.trim()).toEqual "User Two<user2@nylas.com>"
|
||||
|
||||
|
||||
# TODO: We no longer display "to everyone"
|
||||
|
|
Loading…
Reference in a new issue