什么是 testing-helper?
React 和 React Router v7 的测试模式 - Vitest、React 测试库、路由测试、模拟加载器/操作 来源:code-visionary/react-router-skills。
React 和 React Router v7 的测试模式 - Vitest、React 测试库、路由测试、模拟加载器/操作
通过命令行快速安装 testing-helper AI 技能到你的开发环境
来源:code-visionary/react-router-skills。
Master testing for React and React Router v7 applications. Learn how to write effective tests using Vitest and React Testing Library.
Symptoms: "Warning: An update to Component was not wrapped in act()" Cause: State updates not properly awaited Solution: Use waitFor or findBy queries
Symptoms: "Unable to find an element" Cause: Wrong query or timing issue Solution: Use correct query method and wait for element
React 和 React Router v7 的测试模式 - Vitest、React 测试库、路由测试、模拟加载器/操作 来源:code-visionary/react-router-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/code-visionary/react-router-skills --skill testing-helperReact 和 React Router v7 的测试模式 - Vitest、React 测试库、路由测试、模拟加载器/操作 来源:code-visionary/react-router-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/code-visionary/react-router-skills --skill testing-helper 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/code-visionary/react-router-skills