root

  • Type: string
  • Default: process.cwd()
  • CLI: -r=<path>, --root=<path>

Specify the project root directory. Can be an absolute path, or a path relative to process.cwd().

root determines the starting point for loading configuration files, searching test files, etc.