mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 16:44:21 +00:00
chore: update vue to v3.4.29 and enable skipped cases (#12939)
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
"@types/lodash": "^4.17.5",
|
||||
"@types/markdown-it": "^13.0.8",
|
||||
"rimraf": "^5.0.7",
|
||||
"vue": "^3.4.27"
|
||||
"vue": "^3.4.29"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.24.7",
|
||||
|
@@ -36,9 +36,9 @@
|
||||
"author": "chenjiahan",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@vue/runtime-core": "^3.4.27",
|
||||
"@vue/runtime-core": "^3.4.29",
|
||||
"vant": "workspace:*",
|
||||
"vue": "^3.4.27",
|
||||
"vue": "^3.4.29",
|
||||
"esbuild": "^0.20.2",
|
||||
"rimraf": "^5.0.7",
|
||||
"typescript": "^5.4.5"
|
||||
|
@@ -41,7 +41,7 @@
|
||||
"esbuild": "^0.20.2",
|
||||
"rimraf": "^5.0.7",
|
||||
"typescript": "^5.4.5",
|
||||
"vue": "^3.4.27"
|
||||
"vue": "^3.4.29"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vue": "^3.0.0"
|
||||
|
@@ -62,7 +62,7 @@
|
||||
"@vitejs/plugin-vue": "^5.0.5",
|
||||
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
||||
"@vitest/coverage-istanbul": "^1.6.0",
|
||||
"@vue/runtime-core": "^3.4.27",
|
||||
"@vue/runtime-core": "^3.4.29",
|
||||
"@vue/test-utils": "^2.4.6",
|
||||
"csstype": "^3.1.3",
|
||||
"diffable-html": "^5.0.0",
|
||||
@@ -71,7 +71,7 @@
|
||||
"vite": "^5.2.13",
|
||||
"vitest": "^1.6.0",
|
||||
"vitest-canvas-mock": "^0.3.3",
|
||||
"vue": "^3.4.27",
|
||||
"vue": "^3.4.29",
|
||||
"vue-router": "^4.3.2"
|
||||
},
|
||||
"sideEffects": [
|
||||
|
@@ -335,6 +335,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
aria-valuemax="Infinity"
|
||||
aria-valuemin="1"
|
||||
aria-valuenow="1"
|
||||
value="1"
|
||||
>
|
||||
<button
|
||||
type="button"
|
@@ -1,7 +0,0 @@
|
||||
// TODO
|
||||
// enable this case and update snapshot after bump Vue new version
|
||||
// see: https://github.com/youzan/vant/issues/12925
|
||||
import Demo from '../demo/index.vue';
|
||||
import { snapshotDemo } from '../../../test/demo';
|
||||
|
||||
snapshotDemo(Demo);
|
4
packages/vant/src/form/test/demo.spec.ts
Normal file
4
packages/vant/src/form/test/demo.spec.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import Demo from '../demo/index.vue';
|
||||
import { snapshotDemo } from '../../../test/demo';
|
||||
|
||||
snapshotDemo(Demo);
|
@@ -28,6 +28,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
aria-valuemax="Infinity"
|
||||
aria-valuemin="1"
|
||||
aria-valuenow="1"
|
||||
value="1"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
@@ -63,6 +64,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
aria-valuemax="Infinity"
|
||||
aria-valuemin="1"
|
||||
aria-valuenow="1"
|
||||
value="1"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
@@ -98,6 +100,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
aria-valuemax="8"
|
||||
aria-valuemin="5"
|
||||
aria-valuenow="5"
|
||||
value="5"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
@@ -133,6 +136,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
aria-valuemax="Infinity"
|
||||
aria-valuemin="1"
|
||||
aria-valuenow="1"
|
||||
value="1"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
@@ -169,6 +173,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
aria-valuemax="Infinity"
|
||||
aria-valuemin="1"
|
||||
aria-valuenow="1"
|
||||
value="1"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
@@ -206,6 +211,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
aria-valuemax="Infinity"
|
||||
aria-valuemin="1"
|
||||
aria-valuenow="1"
|
||||
value="1"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
@@ -241,6 +247,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
aria-valuemax="Infinity"
|
||||
aria-valuemin="1"
|
||||
aria-valuenow="1.0"
|
||||
value="1.0"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
@@ -278,6 +285,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
aria-valuemax="Infinity"
|
||||
aria-valuemin="1"
|
||||
aria-valuenow="1"
|
||||
value="1"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
@@ -314,6 +322,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
aria-valuemax="Infinity"
|
||||
aria-valuemin="1"
|
||||
aria-valuenow="1"
|
||||
value="1"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
@@ -352,6 +361,7 @@ exports[`should render demo and match snapshot 1`] = `
|
||||
aria-valuemax="Infinity"
|
||||
aria-valuemin="1"
|
||||
aria-valuenow="1"
|
||||
value="1"
|
||||
>
|
||||
<button
|
||||
type="button"
|
@@ -21,6 +21,7 @@ exports[`should disable buttons and input when using disabled prop 1`] = `
|
||||
aria-valuemax="Infinity"
|
||||
aria-valuemin="1"
|
||||
aria-valuenow="1"
|
||||
value="1"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
@@ -53,6 +54,7 @@ exports[`should update input height and button size when using button-size prop
|
||||
aria-valuemax="Infinity"
|
||||
aria-valuemin="1"
|
||||
aria-valuenow="1"
|
||||
value="1"
|
||||
>
|
||||
<button
|
||||
type="button"
|
@@ -1,7 +0,0 @@
|
||||
// TODO
|
||||
// enable this case and update snapshot after bump Vue new version
|
||||
// see: https://github.com/youzan/vant/issues/12925
|
||||
import Demo from '../demo/index.vue';
|
||||
import { snapshotDemo } from '../../../test/demo';
|
||||
|
||||
snapshotDemo(Demo);
|
4
packages/vant/src/stepper/test/demo.spec.ts
Normal file
4
packages/vant/src/stepper/test/demo.spec.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import Demo from '../demo/index.vue';
|
||||
import { snapshotDemo } from '../../../test/demo';
|
||||
|
||||
snapshotDemo(Demo);
|
@@ -1,6 +1,3 @@
|
||||
// TODO
|
||||
// enable this case and update snapshot after bump Vue new version
|
||||
// see: https://github.com/youzan/vant/issues/12925
|
||||
import { nextTick } from 'vue';
|
||||
import { Stepper } from '..';
|
||||
import { mount, later } from '../../../test';
|
Reference in New Issue
Block a user