()
| 267 | } |
| 268 | |
| 269 | function main() { |
| 270 | const mainImplPath = path.resolve( |
| 271 | import.meta.dirname, |
| 272 | '..', |
| 273 | 'front_end', |
| 274 | 'entrypoints', |
| 275 | 'main', |
| 276 | 'MainImpl.ts', |
| 277 | ); |
| 278 | const mainImplFile = fs.readFileSync(mainImplPath, 'utf-8'); |
| 279 | |
| 280 | const userMetricsPath = path.resolve( |
| 281 | import.meta.dirname, |
| 282 | '..', |
| 283 | 'front_end', |
| 284 | 'core', |
| 285 | 'host', |
| 286 | 'UserMetrics.ts', |
| 287 | ); |
| 288 | const userMetricsFile = fs.readFileSync(userMetricsPath, 'utf-8'); |
| 289 | |
| 290 | const experimentNamesPath = path.resolve( |
| 291 | import.meta.dirname, |
| 292 | '..', |
| 293 | 'front_end', |
| 294 | 'core', |
| 295 | 'root', |
| 296 | 'ExperimentNames.ts', |
| 297 | ); |
| 298 | const experimentNamesFile = fs.readFileSync(experimentNamesPath, 'utf-8'); |
| 299 | const experimentNames = getExperimentNameEnum(experimentNamesFile); |
| 300 | |
| 301 | compareExperimentLists( |
| 302 | getMainImplExperimentList(mainImplFile, experimentNames), |
| 303 | getUserMetricExperimentList(userMetricsFile), |
| 304 | ); |
| 305 | } |
| 306 | |
| 307 | main(); |
no test coverage detected