Packages

@vitest/expect

5.0.5 · 15 Oct 2026MIT151.9M / weekRepositoryHomepagenpmAtom feed

Your version

0.32.3

3 Jul 2023Where it was published

0.34.7 is the newest release of 0.32.x.

In short

7 new16 fixed

Release note

Features

  • Add concurrent option to sequence config

  • Introduce global configuration for retry setting

  • Don't rely on util package in @vitest/utils

  • Support accessing other fixtures in fixture function

  • Support use function/class as bench name

  • reporters: Show full test suite when testing 1 spec file at a time

  • runner: Support test.extend

Bug Fixes

  • Remove "concordance" from dependencies list

  • Show diff correctly

  • Util import

  • Compat with frozen Math

  • CTRL+C to terminate run

  • Run mode stuck in TTY terminals

  • Use first stack frame in json reporter

  • Print actual number for toBeCalledTimes

  • benchmark: Don't fail when running correct benchmarks

  • browser: Correctly print diff

  • browser: Esm injector doesn't replace class expressions

  • browser: Transform superclass identifier

  • coverage: v8 to prevent crash on dynamic CJS files

  • runner: Make the default value of retry and repeats 0

  • utils: Respect all flags in format function

  • watch: Cancel using h key