Packages

@vitest/ui

5.1.0 · 2 Nov 2026MIT30.1M / weekRepositoryHomepagenpmAtom feed

Your version

0.26.0

19 Dec 2022Where it was published

0.34.7 is the newest release of 0.26.x.

In short

3 breaking2 new1 fixed

  • Breaking

    vite-node: Rewrite how vite-node resolves id

  • Breaking

    Correctly interop nested default for external and inlined modules

  • Breaking

    web-worker: Make web-worker implementation more compatible with spec

Release note

Breaking Changes

  • Breaking

    vite-node: Rewrite how vite-node resolves id

  • Breaking

    Correctly interop nested default for external and inlined modules

    • If your environment is node, Vitest will not resolve invalid named exports (exports that are on "default" property will not magically appear as named exports), unless deps.interopDefault is enabled, or dependency is in deps.inline. This change doesn't affect jsdom, happy-dom or edge environments.

  • Breaking

    web-worker: Make web-worker implementation more compatible with spec

    • Messages are now cloned with structuredClone, if it's available, or fallbacks to a polyfill.

    • Added support for SharedWorker

Features

  • Introduce a native way to set env and globals

  • Add html reporter based on Vitest UI

    • If you have @vitest/ui installed, you can now use 'html' reporter to get a beautiful UI to view your test results, inspect module graph and read log messages.

Bug Fixes

  • Allow assigning new hotContext

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.