Skip to content

Commit 587709a

Browse files
committed
test: lint
1 parent cf23631 commit 587709a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"dependencies": {
4747
"classnames": "2.x",
4848
"@rc-component/select": "~1.0.0",
49-
"rc-tree": "~5.13.0",
49+
"rc-tree": "~5.13.1",
5050
"@rc-component/util": "^1.2.1"
5151
},
5252
"devDependencies": {

tests/Select.maxCount.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ describe('TreeSelect.maxCount', () => {
104104
});
105105

106106
it('should respect maxCount when checking parent node in treeCheckable mode', () => {
107-
const treeData = [
107+
const data = [
108108
{
109109
key: '0',
110110
value: '0',
@@ -120,7 +120,7 @@ describe('TreeSelect.maxCount', () => {
120120
const handleChange = jest.fn();
121121
const { container } = render(
122122
<TreeSelect
123-
treeData={treeData}
123+
treeData={data}
124124
treeCheckable
125125
multiple
126126
maxCount={2}

0 commit comments

Comments
 (0)