-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
Conversation
agamrafaeli
commented
Mar 21, 2017
•
edited
Loading
edited
- 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).
src/Table/TableSortLabel.spec.js
Outdated
assert.strictEqual(wrapper.hasClass(classes.sortLabel), true, 'should have sort label class'); | ||
}); | ||
|
||
it('should give the active class when active', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/give/set/?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in next commit
src/Table/TableSortLabel.spec.js
Outdated
assert.strictEqual(wrapper.hasClass(classes.active), true); | ||
}); | ||
|
||
it('should not give the active class when not active', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in next commit
@agamrafaeli - on a roll! 🥇 |