(commentNode)
| 35 | }; |
| 36 | |
| 37 | const testYAMLComment = (commentNode) => { |
| 38 | try { |
| 39 | assert.match( |
| 40 | commentNode?.value?.substring(0, 21), |
| 41 | /^<!-- YAML\r?\nchanges:\r?\n/, |
| 42 | 'Missing or ill-formed YAML comment.', |
| 43 | ); |
| 44 | } catch (e) { |
| 45 | throw addMarkdownPathToErrorStack(e, commentNode); |
| 46 | } |
| 47 | }; |
| 48 | |
| 49 | const testDeprecationType = (paragraphNode) => { |
| 50 | try { |
no test coverage detected
searching dependent graphs…