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

fix(react-grid): fix the 'selectByRowClick' prop processing #1000

Merged
merged 3 commits into from
Apr 27, 2018

Conversation

SergeyAlexeev
Copy link
Contributor

Fixes #998

@SergeyAlexeev SergeyAlexeev requested a review from kvet April 27, 2018 10:37
@@ -209,6 +209,6 @@ describe('Table Selection', () => {
));

expect(tree.find(defaultProps.rowComponent).prop('selectByRowClick'))
.toBeFalsy();
.toBe(false);
Copy link
Contributor

@kvet kvet Apr 27, 2018

Choose a reason for hiding this comment

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

Use .toBeFalsy() instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah)

https://facebook.github.io/jest/docs/en/expect.html#tobefalsy

In JavaScript, there are six falsy values: false, 0, '', null, undefined, and NaN

@SergeyAlexeev SergeyAlexeev merged commit 8dc1337 into DevExpress:master Apr 27, 2018
@SergeyAlexeev SergeyAlexeev deleted the fix-table-selection branch April 27, 2018 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants