@@ -41,12 +41,12 @@ const testData = [
41
41
desc : '<ol>\n<li>fish</li>\n<li>fish</li>\n</ol>\n' +
42
42
'<ul>\n<li>Red fish</li>\n<li>Blue fish</li>\n</ul>' ,
43
43
type : 'module' ,
44
- displayName : 'Seussian Rhymes'
44
+ displayName : 'Seussian Rhymes' ,
45
45
} ] ,
46
46
type : 'module' ,
47
- displayName : 'Sample Markdown'
48
- } ]
49
- }
47
+ displayName : 'Sample Markdown' ,
48
+ } ] ,
49
+ } ,
50
50
} ,
51
51
{
52
52
file : fixtures . path ( 'order_of_end_tags_5873.md' ) ,
@@ -68,18 +68,18 @@ const testData = [
68
68
params : [ {
69
69
textRaw : '`array` {Array}' ,
70
70
name : 'array' ,
71
- type : 'Array'
72
- } ]
71
+ type : 'Array' ,
72
+ } ] ,
73
73
} ,
74
- ]
74
+ ] ,
75
75
} ] ,
76
76
type : 'module' ,
77
- displayName : 'Subsection'
77
+ displayName : 'Subsection' ,
78
78
} ] ,
79
79
type : 'module' ,
80
- displayName : 'Title'
81
- } ]
82
- }
80
+ displayName : 'Title' ,
81
+ } ] ,
82
+ } ,
83
83
} ,
84
84
{
85
85
file : fixtures . path ( 'doc_with_yaml.md' ) ,
@@ -96,12 +96,12 @@ const testData = [
96
96
name : 'foobar' ,
97
97
meta : {
98
98
added : [ 'v1.0.0' ] ,
99
- changes : [ ]
99
+ changes : [ ] ,
100
100
} ,
101
101
desc : '<p>Describe <code>Foobar</code> in more detail ' +
102
102
'here.</p>' ,
103
103
type : 'module' ,
104
- displayName : 'Foobar'
104
+ displayName : 'Foobar' ,
105
105
} ,
106
106
{
107
107
textRaw : 'Foobar II' ,
@@ -113,40 +113,40 @@ const testData = [
113
113
'pr-url' : 'https://github.com/nodejs/node/pull/3276' ,
114
114
'description' : 'The `error` parameter can now be ' +
115
115
'an arrow function.' } ,
116
- ]
116
+ ] ,
117
117
} ,
118
118
desc : '<p>Describe <code>Foobar II</code> in more detail ' +
119
119
'here. fg(1)</p>' ,
120
120
type : 'module' ,
121
- displayName : 'Foobar II'
121
+ displayName : 'Foobar II' ,
122
122
} ,
123
123
{
124
124
textRaw : 'Deprecated thingy' ,
125
125
name : 'deprecated_thingy' ,
126
126
meta : {
127
127
added : [ 'v1.0.0' ] ,
128
128
deprecated : [ 'v2.0.0' ] ,
129
- changes : [ ]
129
+ changes : [ ] ,
130
130
} ,
131
131
desc : '<p>Describe <code>Deprecated thingy</code> in more ' +
132
132
'detail here. fg(1p)</p>' ,
133
133
type : 'module' ,
134
- displayName : 'Deprecated thingy'
134
+ displayName : 'Deprecated thingy' ,
135
135
} ,
136
136
{
137
137
textRaw : 'Something' ,
138
138
name : 'something' ,
139
139
desc : '<!-- This is not a metadata comment -->\n<p>' +
140
140
'Describe <code>Something</code> in more detail here.</p>' ,
141
141
type : 'module' ,
142
- displayName : 'Something'
142
+ displayName : 'Something' ,
143
143
} ,
144
144
] ,
145
145
type : 'module' ,
146
- displayName : 'Sample Markdown with YAML info'
146
+ displayName : 'Sample Markdown with YAML info' ,
147
147
} ,
148
- ]
149
- }
148
+ ] ,
149
+ } ,
150
150
} ,
151
151
{
152
152
file : fixtures . path ( 'doc_with_backticks_in_headings.md' ) ,
@@ -160,61 +160,61 @@ const testData = [
160
160
properties : [
161
161
{
162
162
name : 'fullName' ,
163
- textRaw : '`Fqhqwhgads.fullName`'
163
+ textRaw : '`Fqhqwhgads.fullName`' ,
164
164
} ,
165
165
] ,
166
166
classMethods : [
167
167
{
168
168
name : 'again' ,
169
169
signatures : [
170
170
{
171
- params : [ ]
171
+ params : [ ] ,
172
172
} ,
173
173
] ,
174
174
textRaw : 'Static method: `Fhqwhgads.again()`' ,
175
- type : 'classMethod'
175
+ type : 'classMethod' ,
176
176
} ,
177
177
] ,
178
178
classes : [
179
179
{
180
180
textRaw : 'Class: `ComeOn`' ,
181
181
type : 'class' ,
182
- name : 'ComeOn'
182
+ name : 'ComeOn' ,
183
183
} ,
184
184
] ,
185
185
ctors : [
186
186
{
187
187
name : 'Fhqwhgads' ,
188
188
signatures : [
189
189
{
190
- params : [ ]
190
+ params : [ ] ,
191
191
} ,
192
192
] ,
193
193
textRaw : 'Constructor: `new Fhqwhgads()`' ,
194
- type : 'ctor'
194
+ type : 'ctor' ,
195
195
} ,
196
196
] ,
197
197
methods : [
198
198
{
199
199
textRaw : '`everybody.to(limit)`' ,
200
200
type : 'method' ,
201
201
name : 'to' ,
202
- signatures : [ { params : [ ] } ]
202
+ signatures : [ { params : [ ] } ] ,
203
203
} ,
204
204
] ,
205
205
events : [
206
206
{
207
207
textRaw : "Event: `'FHQWHfest'`" ,
208
208
type : 'event' ,
209
209
name : 'FHQWHfest' ,
210
- params : [ ]
210
+ params : [ ] ,
211
211
} ,
212
212
] ,
213
213
type : 'module' ,
214
- displayName : 'Fhqwhgads'
214
+ displayName : 'Fhqwhgads' ,
215
215
} ,
216
- ]
217
- }
216
+ ] ,
217
+ } ,
218
218
} ,
219
219
] ;
220
220
0 commit comments