(
/** @type {string[]} */ schemaNames,
/** @type {string} */ propertyName,
)
| 1611 | |
| 1612 | function assertSchemaValidationJsonHasValidSkipTest() { |
| 1613 | const check = ( |
| 1614 | /** @type {string[]} */ schemaNames, |
| 1615 | /** @type {string} */ propertyName, |
| 1616 | ) => { |
| 1617 | for (const schemaName of schemaNames) { |
| 1618 | if (SchemaValidation.skiptest.includes(schemaName)) { |
| 1619 | printErrorAndExit(new Error(), [ |
| 1620 | `Did not expect to find filename "${schemaName}" in file "${SchemaValidationFile}" under property "${propertyName}[]"`, |
| 1621 | `Because filename "${schemaName}" is listed under "skiptest", it should not be referenced anywhere else in the file`, |
| 1622 | ]) |
| 1623 | } |
| 1624 | } |
| 1625 | } |
| 1626 | |
| 1627 | check(SchemaValidation.ajvNotStrictMode, 'ajvNotStrictMode') |
| 1628 | check(SchemaValidation.missingCatalogUrl, 'missingCatalogUrl') |
no test coverage detected