chore: update vue to v3.4.29 and enable skipped cases (#12939)

This commit is contained in:
inottn
2024-06-15 19:47:34 +08:00
committed by GitHub
parent 86b9c87197
commit 13e5464ae1
13 changed files with 132 additions and 136 deletions

View File

@@ -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",

View File

@@ -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"

View File

@@ -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"

View File

@@ -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": [

View File

@@ -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"

View File

@@ -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);

View File

@@ -0,0 +1,4 @@
import Demo from '../demo/index.vue';
import { snapshotDemo } from '../../../test/demo';
snapshotDemo(Demo);

View File

@@ -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"

View File

@@ -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"

View File

@@ -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);

View File

@@ -0,0 +1,4 @@
import Demo from '../demo/index.vue';
import { snapshotDemo } from '../../../test/demo';
snapshotDemo(Demo);

View File

@@ -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';