message: Extract findFileUris() to make editor testable
diff: @@ -27,11 +27,7 @@ class VSCodeEditor implements Editor {
  }
  async workspaceFiles(): Promise<RelativePath[]> {
  - const ignoredFoldersGlobPattern = `{${getIgnoredFolders().join(",")}}`;
  - const uris = await vscode.workspace.findFiles(
  - "**/*.{js,jsx,ts,tsx}",
  - `**/${ignoredFoldersGlobPattern}/**`
  - );
  + const uris = await this.findFileUris();
  return uris
  .map((uri) => new AbsolutePath(uri.path))
  @@ -40,6 +36,14 @@ class VSCodeEditor implements Editor {
  .map((path) => path.relativeTo(this.document.uri.path));
  }
  + protected async findFileUris(): Promise<vscode.Uri[]> {
  + const ignoredFoldersGlobPattern = `{${getIgnoredFolders().join(",")}}`;
  + return vscode.workspace.findFiles(
  + "**/*.{js,jsx,ts,tsx}",
  + `**/${ignoredFoldersGlobPattern}/**`
  + );
  + }
  +
  get code(): Code {
  return this.document.getText();
  }
  