🚀 Launch Week Day 5:Introducing Immutable Scans.Learn More
Socket
Book a DemoInstallSign in
Socket

@vitest/browser

Package Overview
Dependencies
Maintainers
4
Versions
205
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitest/browser

Browser running for Vitest

Source
npmnpm
Version
3.1.1
Version published
Weekly downloads
2.6M
7.34%
Maintainers
4
Weekly downloads
 
Created
Source

@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.

Development Setup

At project root:

cd test/browser
# runs relevant tests for the browser mode
# useful to confirm everything works fine
pnpm test
# runs tests as the browser mode
# useful during development
pnpm test-fixtures

FAQs

Package last updated on 31 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts