(config: ProjectConfig, cwd: string)
| 205 | } |
| 206 | |
| 207 | function resolveRelativeTopLevelPaths(config: ProjectConfig, cwd: string): ProjectConfig { |
| 208 | const resolved: ProjectConfig = { ...config }; |
| 209 | const pathKeys = ['axePath', 'axeSourcePath', 'iosTemplatePath', 'macosTemplatePath'] as const; |
| 210 | |
| 211 | for (const key of pathKeys) { |
| 212 | const value = resolved[key]; |
| 213 | if (typeof value === 'string' && value.length > 0) { |
| 214 | resolved[key] = normalizePathValue(value, cwd); |
| 215 | } |
| 216 | } |
| 217 | |
| 218 | return resolved; |
| 219 | } |
| 220 | |
| 221 | function normalizeSessionDefaultsProfiles( |
| 222 | profiles: Record<string, Partial<SessionDefaults>>, |
no test coverage detected