Skip to content

Commit 0429a05

Browse files
committed
Add tests
1 parent 064816a commit 0429a05

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

  • lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-markdown-remark/test/fixtures

lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-markdown-remark/test/fixtures/unvalidated.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,23 @@ test = {
115115
};
116116
valid.push( test );
117117

118+
// The following is only valid as the configuration provided:
119+
test = {
120+
'code': [
121+
'/**',
122+
'* Beep boop.',
123+
'*',
124+
'* ## Beep',
125+
'*',
126+
'* ## Beep',
127+
'*/',
128+
'function beep() {',
129+
' console.log( "boop" );',
130+
'}'
131+
].join( '\n' )
132+
};
133+
valid.push( test );
134+
118135

119136
// EXPORTS //
120137

0 commit comments

Comments
 (0)