string-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.
Using <rootDir> in any path-based configuration settings will reference this value.