(paths: TestSpecification[])
| 1183 | } |
| 1184 | |
| 1185 | private async initializeGlobalSetup(paths: TestSpecification[]): Promise<void> { |
| 1186 | const projects = new Set(paths.map(spec => spec.project)) |
| 1187 | const coreProject = this.getRootProject() |
| 1188 | if (!projects.has(coreProject)) { |
| 1189 | projects.add(coreProject) |
| 1190 | } |
| 1191 | for (const project of projects) { |
| 1192 | await project._initializeGlobalSetup() |
| 1193 | } |
| 1194 | } |
| 1195 | |
| 1196 | /** @internal */ |
| 1197 | async rerunFiles(files: string[] = this.state.getFilepaths(), trigger?: string, allTestsRun = true, resetTestNamePattern = false): Promise<TestRunResult> { |
no test coverage detected