Skip to content

Commit

Permalink
✅ test: 更新 antd 升级后的快照
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Feb 2, 2022
1 parent 00ae177 commit 8434793
Show file tree
Hide file tree
Showing 8 changed files with 154 additions and 101 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"n": "ts-node"
},
"lint-staged": {
"**/*.less": "stylelint --syntax less",
"**/*.{js,jsx,tsx,ts,md,json}": [
"prettier --write",
"git add"
Expand Down Expand Up @@ -84,7 +83,7 @@
"@umijs/preset-dumi": "^1.1.33",
"@umijs/preset-react": "^1.8.30",
"@umijs/test": "^3.2.10",
"antd": "^4.14.0",
"antd": "^4.18.5",
"babel-loader": "^8.1.0",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-import": "^1.12.2",
Expand Down Expand Up @@ -127,15 +126,14 @@
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typedoc": "^0.21.0",
"typescript": "^4.2.4",
"typescript": "^4.5.5",
"umi": "^3.5.20",
"utility-types": "^3.10.0",
"webpack": "^5.26.1",
"webpack-bundle-analyzer": "^4.1.0",
"webpack-cli": "^4.5.0"
},
"resolutions": {
"typescript": "4.2.4",
"semantic-release": "18.0.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/journey-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@ant-design/charts": "^1.1.1",
"@ant-design/colors": "^6.0.0",
"ahooks": "^2.10.0",
"antd": "^4.12.3",
"antd": "^4.18.5",
"classnames": "^2.2.6",
"js-yaml": "^4.0.0",
"react-error-boundary": "^3.1.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ exports[`ErrorFallback 默认 1`] = `
<span
class="ant-typography ant-typography-ellipsis ant-typography-single-line avx-journey-error-detail"
>
<div
aria-label="Copy"
class="ant-typography-copy"
Expand Down Expand Up @@ -56,6 +55,49 @@ exports[`ErrorFallback 默认 1`] = `
</svg>
</span>
</div>
<span
aria-hidden="true"
style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; width: 9999px;"
>
lg
</span>
<span
aria-hidden="true"
style="position: fixed; display: block; left: 0px; top: 0px; z-index: -9999; visibility: hidden; pointer-events: none; width: 0px; white-space: normal; margin: 0px; padding: 0px;"
>
<span
aria-hidden="true"
>
...
</span>
<div
aria-label="Copy"
class="ant-typography-copy"
role="button"
style="border: 0px; background: transparent; padding: 0px; line-height: inherit; display: inline-block;"
tabindex="0"
>
<span
aria-label="copy"
class="anticon anticon-copy"
role="img"
>
<svg
aria-hidden="true"
data-icon="copy"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"
/>
</svg>
</span>
</div>
</span>
</span>
</pre>
<span
Expand All @@ -72,9 +114,6 @@ exports[`ErrorFallback 默认 1`] = `
</span>
</div>
</div>
<div
class="ant-alert-description"
/>
</div>
</div>
</div>
Expand Down
3 changes: 1 addition & 2 deletions packages/tag-selector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@
"access": "public"
},
"dependencies": {
"antd": "^4.13.0",
"antd": "^4.18.5",
"react-hotkeys": "^2.0.0",
"@ant-design/icons": "^4.5.0",
"use-merge-value": "^1.0.2"
},
"devDependencies": {},
"scripts": {
"build": "father-build && yarn webpack",
"webpack": "webpack",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exports[`Footer 组件 微信登陆页面 1`] = `
</span>
</div>
<button
class="ant-btn ant-btn-default ant-btn-lg avx-user-panel-wechat"
class="ant-btn ant-btn-lg avx-user-panel-wechat"
data-testid="wechat-btn"
type="button"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`WechatLogin 组件 默认状态 1`] = `
<div>
<button
class="ant-btn ant-btn-default ant-btn-lg avx-user-panel-wechat"
class="ant-btn ant-btn-lg avx-user-panel-wechat"
data-testid="wechat-btn"
type="button"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ exports[`LoginMessage 默认状态 1`] = `
>
test
</div>
<div
class="ant-alert-description"
/>
</div>
</div>
</div>
Expand Down
Loading

0 comments on commit 8434793

Please sign in to comment.