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

chore(deps-dev): bump jsdom from 16.4.0 to 22.1.0 #2190

Merged
merged 1 commit into from
Oct 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -156,7 +156,7 @@
"husky": "7.0.0",
"jest": "^26.0.1",
"jest-junit": "^16.0.0",
"jsdom": "16.4.0",
"jsdom": "22.1.0",
"less": "^4.1.2",
"less-loader": "^10.2.0",
"lint-staged": "^12.3.7",
Loading

Unchanged files with check annotations Beta

test('Should render type icons', () => {
const { getByTestId } = render(
<>
<Alert showIcon type={'non-existed' as any} data-testid="non-existed-root" />

Check warning on line 31 in src/alert/__test__/alert.test.tsx

GitHub Actions / integration / Linting

Unexpected any. Specify a different type
<Alert showIcon message="This is an info alert" type="info" data-testid="info-root" />
<Alert showIcon message="This is an error alert" type="error" data-testid="error-root" />
<Alert showIcon message="This is a success alert" type="success" data-testid="success-root" />
title="卡片标题"
description="卡片副标题"
action={
<Button.IconButton size="small" type="text" onClick={() => alert('action click')}>

Check warning on line 113 in src/card/demos/Card.stories.tsx

GitHub Actions / integration / Linting

Unexpected alert
<MoreVerticalOutlined />
</Button.IconButton>
}
<td>options</td>
<td>
<Cascader
onChange={(val: any, opt: any) => console.log('val', val, opt)}

Check warning on line 93 in src/cascader/demos/Cascader.stories.tsx

GitHub Actions / integration / Linting

Unexpected any. Specify a different type

Check warning on line 93 in src/cascader/demos/Cascader.stories.tsx

GitHub Actions / integration / Linting

Unexpected any. Specify a different type

Check warning on line 93 in src/cascader/demos/Cascader.stories.tsx

GitHub Actions / integration / Linting

Unexpected console statement
options={defaultOptions}
placeholder="haha"
style={{ width: '240px', textAlign: 'left' }}
<td>hide prefix suffix</td>
<td>
<Cascader
onChange={(val: any, opt: any) => console.log('val', val, opt)}

Check warning on line 131 in src/cascader/demos/Cascader.stories.tsx

GitHub Actions / integration / Linting

Unexpected any. Specify a different type

Check warning on line 131 in src/cascader/demos/Cascader.stories.tsx

GitHub Actions / integration / Linting

Unexpected any. Specify a different type

Check warning on line 131 in src/cascader/demos/Cascader.stories.tsx

GitHub Actions / integration / Linting

Unexpected console statement
options={options}
overlayStyle={{ width: 240 }}
style={{ width: '240px', textAlign: 'left' }}
<td>prefix suffix</td>
<td>
<Cascader
onChange={(val: any, opt: any) => console.log('val', val, opt)}

Check warning on line 145 in src/cascader/demos/Cascader.stories.tsx

GitHub Actions / integration / Linting

Unexpected any. Specify a different type

Check warning on line 145 in src/cascader/demos/Cascader.stories.tsx

GitHub Actions / integration / Linting

Unexpected any. Specify a different type
options={options}
prefix={() => <PlusOutlined size="14px" />}
suffix={() => <FilterOutlined size="14px" />}