Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以提供一个支持vue3+vite的单元测试方案吗 #80

Closed
Moonofweisheng opened this issue Mar 24, 2023 · 5 comments
Closed

可以提供一个支持vue3+vite的单元测试方案吗 #80

Moonofweisheng opened this issue Mar 24, 2023 · 5 comments

Comments

@Moonofweisheng
Copy link

No description provided.

@sunpm
Copy link

sunpm commented May 8, 2023

是的,可以添加 vitest 方案吗

@virtual1680
Copy link

现在还没有吗??

1 similar comment
@virtual1680
Copy link

现在还没有吗??

@w123angmeng
Copy link

w123angmeng commented Mar 2, 2024

No description provided.
按uni-app 官网给的搭了下vite + vue3 自动化测试环境,npm run test:h5 没问题;npm run test:mp-weixin 静态资源缺少
demo: https://github.com/w123angmeng/vite-vue3-autotest-demo
也提了issue:#86

你那边有啥vue3 自动化测试有啥解决方案吗?

@Otto-J
Copy link
Member

Otto-J commented Oct 17, 2024

如果是运行到 H5 平台,vue3 项目可以自行集成 vitest 或者 jest 进行测试,和普通的 web 项目无异。如果仍有问题,请 reopen。欢迎在 uni-app 仓库和 ask 社区继续反馈,

@Otto-J Otto-J closed this as completed Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants