Files
vitest/docs/config/includetasklocation.md
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>Vladimir Sheremet
21302d4dd8 chore(deps): update eslint packages (#9615)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <[email protected]>
2026-03-04 18:17:17 +01:00

815 B

title, outline
title outline
includeTaskLocation | Config deep

includeTaskLocation

  • Type: boolean
  • Default: false

Should location property be included when Vitest API receives tasks in reporters. If you have a lot of tests, this might cause a small performance regression.

The location property has column and line values that correspond to the test or describe position in the original file.

This option will be auto-enabled if you don't disable it explicitly, and you are running Vitest with:

::: tip This option has no effect if you do not use custom code that relies on this. :::