Skip to content

Instantly share code, notes, and snippets.

@ralfting
Created September 26, 2019 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ralfting/df0e84242c8c0400481aac2bf49f32da to your computer and use it in GitHub Desktop.
Save ralfting/df0e84242c8c0400481aac2bf49f32da to your computer and use it in GitHub Desktop.
it('should have min class by default depending on props', () => {
props.isReplyingAll = true;
const wrapper = shallow(<ComposeEmailHeader {...props} />);
expect(wrapper.hasClass('pp-both-min')).toBeFalsy();
expect(wrapper.hasClass('pp-one-min')).toBeTruthy();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment