()
| 227 | } |
| 228 | |
| 229 | async refreshAll(): Promise<void> { |
| 230 | await this.ensureInitialized(); |
| 231 | |
| 232 | if (!this.isRemoteEvaluationEnabled()) { |
| 233 | return; |
| 234 | } |
| 235 | |
| 236 | await Promise.all( |
| 237 | (Object.keys(EXPERIMENTS) as ExperimentId[]).map(async (experimentId) => { |
| 238 | await this.refreshExperiment(experimentId); |
| 239 | }) |
| 240 | ); |
| 241 | } |
| 242 | |
| 243 | async refreshExperiment(experimentId: ExperimentId): Promise<void> { |
| 244 | await this.ensureInitialized(); |
no test coverage detected