Skip to content

test: 添加单元测试#5

Merged
wmzy merged 1 commit intowmzy:mainfrom
nu-xin:feat/vitest
Mar 9, 2026
Merged

test: 添加单元测试#5
wmzy merged 1 commit intowmzy:mainfrom
nu-xin:feat/vitest

Conversation

@nu-xin
Copy link
Contributor

@nu-xin nu-xin commented Mar 9, 2026

为项目添加单元测试 (http + article),13 tests passed

- src/util/http.test.ts: HTTP 工具函数测试 (8 tests)
- src/services/article.test.ts: 文章服务测试 (5 tests)

使用 vitest 框架
@wmzy wmzy merged commit abb4dc1 into wmzy:main Mar 9, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants