Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TableSortLabel] Add spec #6408

Merged
merged 3 commits into from
Mar 21, 2017
Merged

[TableSortLabel] Add spec #6408

merged 3 commits into from
Mar 21, 2017

Conversation

agamrafaeli
Copy link
Contributor

@agamrafaeli agamrafaeli commented Mar 21, 2017

  • PR has tests / docs demo, and is linted.
  • Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
  • Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

@muibot muibot added PR: Needs Review PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI and removed PR: Needs Review labels Mar 21, 2017
@oliviertassinari oliviertassinari added PR: Review Accepted and removed PR: Needs Review PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI labels Mar 21, 2017
assert.strictEqual(wrapper.hasClass(classes.sortLabel), true, 'should have sort label class');
});

it('should give the active class when active', () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/give/set/?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in next commit

assert.strictEqual(wrapper.hasClass(classes.active), true);
});

it('should not give the active class when not active', () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as above

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in next commit

@mbrookes mbrookes merged commit 5d2853c into mui:next Mar 21, 2017
@mbrookes
Copy link
Member

@agamrafaeli - on a roll! 🥇

@agamrafaeli agamrafaeli deleted the table-sort-label branch April 1, 2017 11:15
@zannager zannager added the component: table This is the name of the generic UI component, not the React module! label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: table This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants