Skip to content

Commit

Permalink
chore: update vue to v3.4.29 and enable skipped cases (#12939)
Browse files Browse the repository at this point in the history
  • Loading branch information
inottn authored Jun 15, 2024
1 parent 86b9c87 commit 13e5464
Show file tree
Hide file tree
Showing 13 changed files with 131 additions and 135 deletions.
2 changes: 1 addition & 1 deletion packages/vant-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/vant-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/vant-use/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions packages/vant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
7 changes: 0 additions & 7 deletions packages/vant/src/form/test/demo.skip.ts

This file was deleted.

4 changes: 4 additions & 0 deletions packages/vant/src/form/test/demo.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import Demo from '../demo/index.vue';
import { snapshotDemo } from '../../../test/demo';

snapshotDemo(Demo);
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
7 changes: 0 additions & 7 deletions packages/vant/src/stepper/test/demo.skip.ts

This file was deleted.

4 changes: 4 additions & 0 deletions packages/vant/src/stepper/test/demo.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import Demo from '../demo/index.vue';
import { snapshotDemo } from '../../../test/demo';

snapshotDemo(Demo);
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
Loading

0 comments on commit 13e5464

Please sign in to comment.