@vitest/browser
TypeScript icon, indicating that this package has built-in type declarations

1.6.0 • Public • Published

@vitest/browser

Browser runner for Vitest.

⚠️ This package is experimental. While this package will be released along with other packages, it will not follow SemVer for breaking changes until we mark it as ready.

Progress

Current Status: Working in progress

  • [x] Init package and integration
  • [x] Stub node packages for Vitest runtime
  • [x] Works in development mode
  • [x] Better log in terminal
  • [x] Fulfill tests (using Browser only APIs, Vue and React components)
  • [ ] Show progress and error on the browser page
  • [x] Headless mode in CI
  • [x] Docs

Related PRs

Development Setup

At project root:

pnpm dev

cd test/browser
pnpm vitest --browser

/@vitest/browser/

    Package Sidebar

    Install

    npm i @vitest/browser

    Weekly Downloads

    56,350

    Version

    1.6.0

    License

    MIT

    Unpacked Size

    900 kB

    Total Files

    21

    Last publish

    Collaborators

    • vitestbot
    • oreanno
    • patak
    • antfu