(paragraphNode)
| 47 | }; |
| 48 | |
| 49 | const testDeprecationType = (paragraphNode) => { |
| 50 | try { |
| 51 | assert.strictEqual( |
| 52 | paragraphNode?.children[0]?.value?.substring(0, 6), |
| 53 | 'Type: ', |
| 54 | 'Missing deprecation type.', |
| 55 | ); |
| 56 | } catch (e) { |
| 57 | throw addMarkdownPathToErrorStack(e, paragraphNode); |
| 58 | } |
| 59 | }; |
| 60 | |
| 61 | const tree = unified() |
| 62 | .use(remarkParse) |
no test coverage detected
searching dependent graphs…