(config: PartialConfig | object)
| 15 | * @returns |
| 16 | */ |
| 17 | export function migrateConfig(config: PartialConfig | object): ConfigSchema { |
| 18 | return mergeWithDefaultConfig(sanitizeConfig(replaceLegacyValues(config))); |
| 19 | } |
| 20 | |
| 21 | function mergeWithDefaultConfig(config: PartialConfig): ConfigSchema { |
| 22 | const defaultConfig = getDefaultConfig(); |
no test coverage detected