Skip to content
所有標籤

#vitest

1 篇文章

Vitest:共用 Vite 設定,但不要把 component test 當成 E2E

Vitest 的優勢不是 Jest API 長得熟,而是測試與應用共用 Vite 的 transform、alias 與 plugin;Browser Mode 增加真瀏覽器信心,卻仍不能取代完整 E2E。