* If theme schema exists we need to validate it to make sure it passes all defined checks. * @private * @returns {boolean}
()
| 126 | * @returns {boolean} |
| 127 | */ |
| 128 | async _validateThemeSchema() { |
| 129 | if (this.themeConfig.schemaExists()) { |
| 130 | const rawSchema = await this.themeConfig.getRawSchema(); |
| 131 | this._validateJsonSchema('schema', themeValidationSchema, rawSchema); |
| 132 | } |
| 133 | return true; |
| 134 | } |
| 135 | |
| 136 | /** |
| 137 | * Ensure theme configuration exists and passes the json schema file |
nothing calls this directly
no test coverage detected