Socket
Book a DemoInstallSign in
Socket

@vitest/ui

Package Overview
Dependencies
Maintainers
5
Versions
332
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitest/ui

UI for Vitest

latest
Source
npmnpm
Version
4.0.16
Version published
Weekly downloads
2.8M
-1.77%
Maintainers
5
Weekly downloads
 
Created
Source

@vitest/ui

This package is for UI interface of Vitest.

Development Setup

At project root, create terminals with each of the following commands:

nr ui:dev
nr test --api

As the last command, you can use any of the available tests suites instead. Make sure that they run at 51204 port or specify a custom port with VITE_PORT environmental variable when running the first command. For example,

VITE_PORT=3200 nr ui:dev
nr test --api=3200

Open the browser at the URL printed by the first command. For example, http://localhost:5173/. If you see a connection error, it means the port is specified incorrectly.

To preview the browser tab, uncomment the "browser-dev-preview" plugin in vite.config.ts. To configure the browser state, update the __vitest_browser_runner__ object in browser.dev.js.

FAQs

Package last updated on 16 Dec 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