Skip to content

Commit 9f68b05

Browse files
committed
test: add test
1 parent e15f467 commit 9f68b05

9 files changed

+847
-79
lines changed

package.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"dev": "vite",
1414
"build": "vite build",
1515
"serve": "vite preview",
16-
"test": "jest"
16+
"test": "vitest"
1717
},
1818
"keywords": [],
1919
"author": "",
@@ -23,15 +23,15 @@
2323
],
2424
"dependencies": {
2525
"@vitejs/plugin-vue": "^4.2.3",
26+
"@vue/test-utils": "^2.3.2",
2627
"babel": "^6.23.0",
2728
"eslint": "^8.40.0",
2829
"lodash-es": "^4.17.21",
2930
"mockjs": "^1.1.0",
3031
"typescript": "^5.0.4",
3132
"vite": "^4.3.5",
3233
"vite-plugin-dts": "^2.3.0",
33-
"vue": "^3.3.2",
34-
"vue-lazy-load-image-component": "0.0.4"
34+
"vue": "^3.3.2"
3535
},
3636
"devDependencies": {
3737
"@types/jest": "^29.5.1",
@@ -40,6 +40,8 @@
4040
"@vitejs/plugin-vue-jsx": "^3.0.1",
4141
"@vue/babel-plugin-jsx": "^1.1.1",
4242
"eslint-plugin-vue": "^9.12.0",
43-
"jest": "^29.5.0"
43+
"jest": "^29.5.0",
44+
"jsdom": "^22.0.0",
45+
"vitest": "^0.31.0"
4446
}
4547
}

0 commit comments

Comments
 (0)