Skip to content
masterclass Buddy

Vitest · Function

test.concurrent

test.concurrent runs a test in parallel with other concurrent tests in the same file. It is useful for asynchronous tests that do not share mutable state.

Last updated

Syntax

test.concurrent(name, body, timeout?) : void

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • it.concurrent
  • describe.concurrent
  • maxConcurrency
  • sequence.concurrent
  • test.skip
  • test.only
  • test.todo

Source: Test | Vitest. Checked 2026-11-03.