8000 Copy-edit test descriptions · leetcode/reactable@2ac31a5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ac31a5

Browse files
committed
Copy-edit test descriptions
1 parent 62f30a8 commit 2ac31a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/reactable_test.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ describe('Reactable', function() {
10561056
});
10571057
});
10581058

1059-
describe('update currentPage via a prop passed to table', function() {
1059+
describe('updating the currentPage via a prop passed to the table', function() {
10601060
before(function() {
10611061

10621062
var ParentComponent = React.createClass({
@@ -1065,7 +1065,7 @@ describe('Reactable', function() {
10651065
},
10661066

10671067
render () {
1068-
return (
1068+
return (
10691069
<Reactable.Table className="table" id="table" data={[
10701070
{'Name': 'Griffin Smith', 'Age': '18'},
10711071
{'Age': '23', 'Name': 'Lee Salminen'},
@@ -1085,14 +1085,14 @@ describe('Reactable', function() {
10851085

10861086
after(ReactableTestUtils.resetTestEnvironment);
10871087

1088-
it('set default currentPage', function() {
1088+
it('allows setting the default currentPage', function() {
10891089
let activePage = $('#table tbody.reactable-pagination ' +
10901090
'a.reactable-page-button.reactable-current-page');
10911091
expect(activePage.length).to.equal(1);
10921092
expect(activePage).to.have.text('5');
10931093
});
10941094

1095-
it('update currentPage using props', function() {
1095+
it('allows updating currentPage using props', function() {
10961096
this.component.setState({currentPage: 2})
10971097
let activePage = $('#table tbody.reactable-pagination ' +
10981098
'a.reactable-page-button.reactable-current-page')

0 commit comments

Comments
 (0)
0