vitest 是做什么的?
Vitest 快速单元测试框架,由 Vite 驱动,兼容 Jest API。适用于编写测试、模拟、配置覆盖率、测试过滤和固定设备。
Vitest 快速单元测试框架,由 Vite 驱动,兼容 Jest API。适用于编写测试、模拟、配置覆盖率、测试过滤和固定设备。
supabase/vitest 是一个基于 Vite 的快速单元测试框架,提供与 Jest 兼容的 API,使开发者能够高效地编写和执行测试。该技能覆盖了测试编写、模拟(mocking)、覆盖率配置、测试过滤以及固定设备(fixtures)等关键功能,适用于各种现代 JavaScript/TypeScript 项目,尤其是在 Supabase 生态系统中。Vitest 利用 Vite 的即时热更新和构建速度,显著提升测试运行效率,同时保持与 Jest 类似的语法和习惯,降低了迁移成本。它支持多种平台(如 Node.js、浏览器环境),并能与主流 CI/CD 工具无缝集成。通过该技能,开发者可以快速设置测试环境、定义测试用例、使用内置 mocking 功能模拟依赖,以及通过配置文件精细控制覆盖率报告和测试筛选逻辑。
npx skills add https://github.com/supabase/supabase/tree/main/skills/vitestInstalled? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
Vitest 快速单元测试框架,由 Vite 驱动,兼容 Jest API。适用于编写测试、模拟、配置覆盖率、测试过滤和固定设备。
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.