@@ -27,7 +27,7 @@ const testHeading = (headingNode, expectedDeprecationCode) => {
27
27
assert . strictEqual (
28
28
headingNode ?. children [ 0 ] ?. value . substring ( 0 , 9 ) ,
29
29
`${ expectedDeprecationCode } : ` ,
30
- 'Ill-formed or out-of-order deprecation code.'
30
+ 'Ill-formed or out-of-order deprecation code.' ,
31
31
) ;
32
32
} catch ( e ) {
33
33
throw addMarkdownPathToErrorStack ( e , headingNode ) ;
@@ -39,7 +39,7 @@ const testYAMLComment = (commentNode) => {
39
39
assert . match (
40
40
commentNode ?. value ?. substring ( 0 , 21 ) ,
41
41
/ ^ < ! - - Y A M L \r ? \n c h a n g e s : \r ? \n / ,
42
- 'Missing or ill-formed YAML comment.'
42
+ 'Missing or ill-formed YAML comment.' ,
43
43
) ;
44
44
} catch ( e ) {
45
45
throw addMarkdownPathToErrorStack ( e , commentNode ) ;
@@ -51,7 +51,7 @@ const testDeprecationType = (paragraphNode) => {
51
51
assert . strictEqual (
52
52
paragraphNode ?. children [ 0 ] ?. value ?. substring ( 0 , 6 ) ,
53
53
'Type: ' ,
54
- 'Missing deprecation type.'
54
+ 'Missing deprecation type.' ,
55
55
) ;
56
56
} catch ( e ) {
57
57
throw addMarkdownPathToErrorStack ( e , paragraphNode ) ;
@@ -74,7 +74,7 @@ for (let i = 0; i < tree.children.length; i++) {
74
74
assert . strictEqual (
75
75
deprecationCodeAsText ,
76
76
expectedDeprecationCode ,
77
- 'Deprecation codes are not ordered correctly.'
77
+ 'Deprecation codes are not ordered correctly.' ,
78
78
) ;
79
79
} catch ( e ) {
80
80
throw addMarkdownPathToErrorStack ( e , node ) ;
0 commit comments