Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 923439d

Browse files
correct typo
1 parent d80ae13 commit 923439d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎packages/react-bootstrap-table2/test/row-selection/wrapper.test.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ describe('RowSelectionWrapper', () => {
107107
const firstSelectedRow = data[0][keyField];
108108
const secondSelectedRow = data[1][keyField];
109109

110-
it('call handleRowSelect function should seting correct state.selectedRowKeys', () => {
110+
it('call handleRowSelect function should setting correct state.selectedRowKeys', () => {
111111
wrapper.instance().handleRowSelect(firstSelectedRow, rowIndex);
112112
expect(wrapper.state('selectedRowKeys')).toEqual([firstSelectedRow]);
113113

@@ -133,7 +133,7 @@ describe('RowSelectionWrapper', () => {
133133
);
134134
});
135135

136-
it('call handleRowSelect function should seting correct state.selectedRowKeys', () => {
136+
it('call handleRowSelect function should setting correct state.selectedRowKeys', () => {
137137
wrapper.instance().handleRowSelect(firstSelectedRow, true, rowIndex);
138138
expect(wrapper.state('selectedRowKeys')).toEqual(expect.arrayContaining([firstSelectedRow]));
139139

@@ -147,15 +147,15 @@ describe('RowSelectionWrapper', () => {
147147
expect(wrapper.state('selectedRowKeys')).toEqual([]);
148148
});
149149

150-
it('call handleAllRowsSelect function should seting correct state.selectedRowKeys', () => {
150+
it('call handleAllRowsSelect function should setting correct state.selectedRowKeys', () => {
151151
wrapper.instance().handleAllRowsSelect();
152152
expect(wrapper.state('selectedRowKeys')).toEqual(expect.arrayContaining([firstSelectedRow, secondSelectedRow]));
153153

154154
wrapper.instance().handleAllRowsSelect();
155155
expect(wrapper.state('selectedRowKeys')).toEqual([]);
156156
});
157157

158-
it('call handleAllRowsSelect function with a bool args should seting correct state.selectedRowKeys', () => {
158+
it('call handleAllRowsSelect function with a bool args should setting correct state.selectedRowKeys', () => {
159159
wrapper.instance().handleAllRowsSelect(true);
160160
expect(wrapper.state('selectedRowKeys')).toEqual(expect.arrayContaining([firstSelectedRow, secondSelectedRow]));
161161

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /