| 63 | } |
| 64 | |
| 65 | loadFiles(remoteFiles: File[], projects: { name: string; color?: string }[]) { |
| 66 | this.projects.splice(0, this.projects.length, ...projects.map(p => p.name)) |
| 67 | this.colors = new Map(projects.map(p => [p.name, p.color])) |
| 68 | |
| 69 | runLoadFiles( |
| 70 | remoteFiles, |
| 71 | true, |
| 72 | searchMatcher.value.matcher, |
| 73 | { |
| 74 | failed: filter.failed, |
| 75 | success: filter.success, |
| 76 | skipped: filter.skipped, |
| 77 | slow: filter.slow, |
| 78 | onlyTests: filter.onlyTests, |
| 79 | }, |
| 80 | ) |
| 81 | } |
| 82 | |
| 83 | startRun() { |
| 84 | this.startTime = performance.now() |