* Return project that has the root (or "global") config.
()
| 497 | * Return project that has the root (or "global") config. |
| 498 | */ |
| 499 | public getRootProject(): TestProject { |
| 500 | if (!this.coreWorkspaceProject) { |
| 501 | throw new Error(`Root project is not initialized. This means that the Vite server was not established yet and the the workspace config is not resolved.`) |
| 502 | } |
| 503 | return this.coreWorkspaceProject |
| 504 | } |
| 505 | |
| 506 | public get serializedRootConfig(): SerializedRootConfig { |
| 507 | return { |
no outgoing calls