Skip to content

fix(upload): 上传组件图片展示样式优化 #4300

fix(upload): 上传组件图片展示样式优化

fix(upload): 上传组件图片展示样式优化 #4300

Triggered via pull request December 20, 2024 02:59
Status Failure
Total duration 4m 42s
Artifacts 2

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 4 warnings
src/upload/__tests__/vitest-upload.test.jsx > Upload Component > props.theme: theme=image-flow works fine: src/upload/__tests__/vitest-upload.test.jsx#L1169
Error: Snapshot `Upload Component > props.theme: theme=image-flow works fine 1` mismatched - Expected + Received @@ -53,11 +53,11 @@ > <div class="t-image__wrapper t-image__wrapper--shape-square t-upload__card-image" > <img - class="t-image t-image--fit-fill t-image--position-center" + class="t-image t-image--fit-contain t-image--position-center" src="" /> <div class="t-image__loading" > @@ -132,11 +132,11 @@ > <div class="t-image__wrapper t-image__wrapper--shape-square t-upload__card-image" > <img - class="t-image t-image--fit-fill t-image--position-center" + class="t-image t-image--fit-contain t-image--position-center" src="https://img1.txt" /> <div class="t-image__loading" > @@ -234,11 +234,11 @@ > <div class="t-image__wrapper t-image__wrapper--shape-square t-upload__card-image" > <img - class="t-image t-image--fit-fill t-image--position-center" + class="t-image t-image--fit-contain t-image--position-center" src="https://img2.txt" /> <div class="t-image__loading" > ❯ src/upload/__tests__/vitest-upload.test.jsx:1169:23
call-test-build / test
Process completed with exit code 1.
call-test-build / check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
call-test-build / site
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
call-test-build / test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
call-test-build / build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
_site Expired
3.43 MB
pr
139 Bytes