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

补齐 client 中的单元测试 #68

Closed
cuixiaorui opened this issue Jan 30, 2024 · 1 comment
Closed

补齐 client 中的单元测试 #68

cuixiaorui opened this issue Jan 30, 2024 · 1 comment
Assignees
Labels
Frontend technology Purely technical issues
Milestone

Comments

@cuixiaorui
Copy link
Contributor

cuixiaorui commented Jan 30, 2024

除了 UI 组件其他的代码都应该有单元测试

  • composables
  • store
  • utils

这几个文件夹内的代码都需要写单元测试

components 文件夹里面的都属于 UI 逻辑

这里有一个要点是大家需要知道哪些逻辑属于 UI 逻辑,哪些逻辑属于数据处理逻辑/业务逻辑

@cuixiaorui cuixiaorui added this to the Stone milestone Jan 30, 2024
@cuixiaorui cuixiaorui changed the title client 单元测试 补齐 client 中的单元测试 Jan 30, 2024
@cuixiaorui cuixiaorui moved this to Todo in earthworm Jan 30, 2024
@cuixiaorui cuixiaorui moved this from Todo to In Progress in earthworm Jan 30, 2024
@cuixiaorui cuixiaorui self-assigned this Jan 30, 2024
@cuixiaorui cuixiaorui added Frontend technology Purely technical issues labels Jan 30, 2024
@cuixiaorui
Copy link
Contributor Author

cypress component test 目前不支持 vite 5

这是对应的 issue

等 cypress 啥时候搞定这个问题 在增加组件测试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend technology Purely technical issues
Projects
Status: Done
Development

No branches or pull requests

2 participants