Skip to content

Commit

Permalink
fix(deps): update dependency antd to ^4.18.2 (#441)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency antd to ^4.18.2

* test(jest-antd): update failed snapshots

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: sabertazimi <[email protected]>
  • Loading branch information
3 people authored Jan 5, 2022
1 parent 7111eb5 commit 55b8972
Show file tree
Hide file tree
Showing 7 changed files with 83 additions and 58 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@ant-design/icons": "^4.7.0",
"@octokit/rest": "^18.12.0",
"@reach/router": "^1.3.4",
"antd": "^4.17.4",
"antd": "^4.18.2",
"classnames": "^2.3.1",
"gatsby": "^4.4.0",
"prismjs": "^1.25.0",
Expand Down
4 changes: 4 additions & 0 deletions src/components/Article/__snapshots__/Article.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ exports[`Article should render correctly (snapshot) 1`] = `
>
<span
className="ant-divider-inner-text"
style={Object {}}
>
Be a Stupid Learner
</span>
Expand Down Expand Up @@ -219,6 +220,7 @@ exports[`Article should render correctly (snapshot) 1`] = `
>
<span
className="ant-divider-inner-text"
style={Object {}}
>
<span
className="anticon text-2xl text-primary"
Expand Down Expand Up @@ -534,6 +536,7 @@ exports[`Article should render correctly with partial data (snapshot) 1`] = `
>
<span
className="ant-divider-inner-text"
style={Object {}}
>
Blog
</span>
Expand Down Expand Up @@ -574,6 +577,7 @@ exports[`Article should render correctly with partial data (snapshot) 1`] = `
>
<span
className="ant-divider-inner-text"
style={Object {}}
>
<span
className="anticon text-2xl text-primary"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ exports[`ErrorBoundary should render alert message correctly (snapshot) 1`] = `
>
<div
className="ant-typography"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand All @@ -48,6 +49,7 @@ exports[`ErrorBoundary should render alert message correctly (snapshot) 1`] = `
>
<span
className="ant-typography text-xl font-extrabold"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand All @@ -59,6 +61,7 @@ exports[`ErrorBoundary should render alert message correctly (snapshot) 1`] = `
</div>
<div
className="ant-typography"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand All @@ -67,6 +70,7 @@ exports[`ErrorBoundary should render alert message correctly (snapshot) 1`] = `
>
<span
className="ant-typography"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand All @@ -78,6 +82,7 @@ exports[`ErrorBoundary should render alert message correctly (snapshot) 1`] = `
</div>
<div
className="ant-typography"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand All @@ -86,6 +91,7 @@ exports[`ErrorBoundary should render alert message correctly (snapshot) 1`] = `
>
<span
className="ant-typography"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand All @@ -97,6 +103,7 @@ exports[`ErrorBoundary should render alert message correctly (snapshot) 1`] = `
</div>
<div
className="ant-typography"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand All @@ -105,6 +112,7 @@ exports[`ErrorBoundary should render alert message correctly (snapshot) 1`] = `
>
<span
className="ant-typography"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,7 @@ exports[`GithubCard should render correctly when missing github data (snapshot)
>
<h1
className="ant-typography"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand Down
2 changes: 2 additions & 0 deletions src/components/PostsGrid/__snapshots__/PostCard.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ exports[`PostCard should render correctly (snapshot) 1`] = `
</span>
<h2
className="ant-typography my-3"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand Down Expand Up @@ -170,6 +171,7 @@ exports[`PostCard should render correctly with partial data (snapshot) 1`] = `
</span>
<h2
className="ant-typography my-3"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand Down
10 changes: 10 additions & 0 deletions src/components/PostsGrid/__snapshots__/PostsGrid.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Array [
</span>
<h2
className="ant-typography my-3"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand Down Expand Up @@ -143,6 +144,7 @@ Array [
</span>
<h2
className="ant-typography my-3"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand Down Expand Up @@ -251,6 +253,7 @@ Array [
</span>
<h2
className="ant-typography my-3"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand Down Expand Up @@ -367,6 +370,7 @@ Array [
</span>
<h2
className="ant-typography my-3"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand Down Expand Up @@ -483,6 +487,7 @@ Array [
</span>
<h2
className="ant-typography my-3"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand Down Expand Up @@ -615,6 +620,7 @@ Array [
</span>
<h2
className="ant-typography my-3"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand Down Expand Up @@ -723,6 +729,7 @@ Array [
</span>
<h2
className="ant-typography my-3"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand Down Expand Up @@ -831,6 +838,7 @@ Array [
</span>
<h2
className="ant-typography my-3"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand Down Expand Up @@ -952,6 +960,7 @@ Array [
</span>
<h2
className="ant-typography my-3"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand Down Expand Up @@ -1068,6 +1077,7 @@ Array [
</span>
<h2
className="ant-typography my-3"
onClick={[Function]}
style={
Object {
"WebkitLineClamp": undefined,
Expand Down
Loading

0 comments on commit 55b8972

Please sign in to comment.