private async resolveRoot()

in src/test-explorer/resolver.ts [138:150]


  private async resolveRoot() {
    let projectViewUri: vscode.Uri | undefined = undefined
    const projectViewRelPath = getExtensionSetting(
      SettingName.BAZEL_PROJECT_FILE_PATH
    )

    this.repoRoot = await Utils.getWorkspaceGitRoot()
    if (projectViewRelPath && this.repoRoot) {
      const projectViewAbsPath = path.resolve(this.repoRoot, projectViewRelPath)
      projectViewUri = vscode.Uri.parse(projectViewAbsPath)
    }
    this.testItemFactory.createRootTestItem(projectViewUri)
  }