vitest 是做什麼的?
Vitest 高速單元測試框架,基於 Vite 且相容 Jest API。用於撰寫測試、模擬、設定覆蓋率、或處理測試篩選與固定資料。
Vitest 高速單元測試框架,基於 Vite 且相容 Jest API。用於撰寫測試、模擬、設定覆蓋率、或處理測試篩選與固定資料。
此技能整合了 Vitest,一個由 Vite 驅動的極速單元測試框架,並提供與 Jest 高度相容的 API。它適合在開發、維護或重構程式碼時,用來撰寫並執行單元測試、模擬依賴項、設定程式碼覆蓋率報告,以及利用測試篩選、快照測試與固定資料夾(fixtures)來組織測試案例。本技能支援大部分的 Vitest CLI 選項與設定檔(如 vitest.config.ts),可與 TypeScript、React、Vue 等前端專案搭配使用,也能在 CI/CD 環境中執行。透過此技能,開發者能快速獲得測試反饋、確保程式碼品質,並降低重複手動測試的成本。
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.