From db9e9c3d0578582b1f389e2dd7b30e7e0b558e81 Mon Sep 17 00:00:00 2001 From: CPTProgrammer <46586216+CPTProgrammer@users.noreply.github.com> Date: Tue, 7 Jul 2026 01:39:21 +0800 Subject: [PATCH] Document Vitest as testing framework in project docs --- docs/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/index.md b/docs/index.md index 20fe838..df74466 100644 --- a/docs/index.md +++ b/docs/index.md @@ -10,6 +10,7 @@ - **工具库**:use-debounce(防抖) - **Markdown 编辑器**:@uiw/react-md-editor(风格需调整为与 Ant Design 统一) - **校验库**:Zod(运行时校验 config 文件 + API 响应) +- **测试框架**:Vitest - **平台 API**:Modrinth API、CurseForge API ## 项目结构 @@ -119,6 +120,10 @@ src/types/ - `https://zod.dev/llms.txt` — 目录索引(纯链接) - `https://raw.githubusercontent.com/colinhacks/zod/refs/heads/main/packages/zod/README.md` — README 原文 +#### Vitest + +- `https://vitest.dev/llms.txt` — 目录索引 + #### @uiw/react-md-editor - `https://github.com/uiwjs/react-md-editor/blob/master/core/README.md` — README 原文