Skip to content

Commit ca5f025

Browse files
committed
Reduce noise in render specs
1 parent 098b1c7 commit ca5f025

File tree

10 files changed

+52
-226
lines changed

10 files changed

+52
-226
lines changed

src/test/renderer/specs/classes/BaseClass.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,7 @@
131131
"section": {
132132
"section.tsd-panel.tsd-member": [
133133
{
134-
"tag": "h3.tsd-anchor-link",
135-
"props": {
136-
"id": "constructor"
137-
},
138-
"children": [
134+
"h3.tsd-anchor-link#constructor": [
139135
{
140136
"span": "constructor"
141137
},
@@ -152,11 +148,7 @@
152148
"ul.tsd-signatures": {
153149
"li.": [
154150
{
155-
"tag": "div.tsd-signature.tsd-anchor-link",
156-
"props": {
157-
"id": "constructorbaseclass"
158-
},
159-
"children": [
151+
"div.tsd-signature.tsd-anchor-link#constructorbaseclass": [
160152
{
161153
"span.tsd-signature-keyword": "new"
162154
},

src/test/renderer/specs/classes/GenericClass.json

Lines changed: 7 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,7 @@
4343
{
4444
"ul.tsd-type-parameter-list": {
4545
"li": {
46-
"tag": "span",
47-
"props": {
48-
"id": "t"
49-
},
50-
"children": [
46+
"span#t": [
5147
{
5248
"span.tsd-signature-keyword": "out"
5349
},
@@ -167,11 +163,7 @@
167163
"section": {
168164
"section.tsd-panel.tsd-member": [
169165
{
170-
"tag": "h3.tsd-anchor-link",
171-
"props": {
172-
"id": "constructor"
173-
},
174-
"children": [
166+
"h3.tsd-anchor-link#constructor": [
175167
{
176168
"span": "constructor"
177169
},
@@ -188,11 +180,7 @@
188180
"ul.tsd-signatures": {
189181
"li.": [
190182
{
191-
"tag": "div.tsd-signature.tsd-anchor-link",
192-
"props": {
193-
"id": "constructorgenericclass"
194-
},
195-
"children": [
183+
"div.tsd-signature.tsd-anchor-link#constructorgenericclass": [
196184
{
197185
"span.tsd-signature-keyword": "new"
198186
},
@@ -279,11 +267,7 @@
279267
{
280268
"ul.tsd-type-parameter-list": {
281269
"li": {
282-
"tag": "span",
283-
"props": {
284-
"id": "constructorgenericclasst"
285-
},
286-
"children": [
270+
"span#constructorgenericclasst": [
287271
{
288272
"span.tsd-signature-keyword": "out"
289273
},
@@ -363,11 +347,7 @@
363347
"section": {
364348
"section.tsd-panel.tsd-member": [
365349
{
366-
"tag": "h3.tsd-anchor-link",
367-
"props": {
368-
"id": "genericmethod"
369-
},
370-
"children": [
350+
"h3.tsd-anchor-link#genericmethod": [
371351
{
372352
"span": [
373353
"generic",
@@ -390,11 +370,7 @@
390370
"ul.tsd-signatures": {
391371
"li.": [
392372
{
393-
"tag": "div.tsd-signature.tsd-anchor-link",
394-
"props": {
395-
"id": "genericmethod-1"
396-
},
397-
"children": [
373+
"div.tsd-signature.tsd-anchor-link#genericmethod-1": [
398374
{
399375
"span.tsd-kind-call-signature": "genericMethod"
400376
},
@@ -448,11 +424,7 @@
448424
{
449425
"ul.tsd-type-parameter-list": {
450426
"li": {
451-
"tag": "span",
452-
"props": {
453-
"id": "genericmethodu"
454-
},
455-
"children": [
427+
"span#genericmethodu": [
456428
{
457429
"span.tsd-kind-type-parameter": "U"
458430
},

src/test/renderer/specs/classes/ModifiersClass.json

Lines changed: 7 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,7 @@
143143
"section": {
144144
"section.tsd-panel.tsd-member": [
145145
{
146-
"tag": "h3.tsd-anchor-link",
147-
"props": {
148-
"id": "constructor"
149-
},
150-
"children": [
146+
"h3.tsd-anchor-link#constructor": [
151147
{
152148
"span": "constructor"
153149
},
@@ -164,11 +160,7 @@
164160
"ul.tsd-signatures": {
165161
"li.": [
166162
{
167-
"tag": "div.tsd-signature.tsd-anchor-link",
168-
"props": {
169-
"id": "constructormodifiersclass"
170-
},
171-
"children": [
163+
"div.tsd-signature.tsd-anchor-link#constructormodifiersclass": [
172164
{
173165
"span.tsd-signature-keyword": "new"
174166
},
@@ -241,11 +233,7 @@
241233
{
242234
"section.tsd-panel.tsd-member": [
243235
{
244-
"tag": "h3.tsd-anchor-link",
245-
"props": {
246-
"id": "dep"
247-
},
248-
"children": [
236+
"h3.tsd-anchor-link#dep": [
249237
{
250238
"span.deprecated": "dep"
251239
},
@@ -278,11 +266,7 @@
278266
{
279267
"div.tsd-comment.tsd-typography": {
280268
"div.tsd-tag-deprecated": {
281-
"tag": "h4.tsd-anchor-link",
282-
"props": {
283-
"id": "deprecated"
284-
},
285-
"children": [
269+
"h4.tsd-anchor-link#deprecated": [
286270
"Deprecated",
287271
{
288272
"tag": "a.tsd-anchor-icon",
@@ -300,11 +284,7 @@
300284
{
301285
"section.tsd-panel.tsd-member.tsd-is-protected": [
302286
{
303-
"tag": "h3.tsd-anchor-link",
304-
"props": {
305-
"id": "prot"
306-
},
307-
"children": [
287+
"h3.tsd-anchor-link#prot": [
308288
{
309289
"code.tsd-tag": "Protected"
310290
},
@@ -342,11 +322,7 @@
342322
{
343323
"section.tsd-panel.tsd-member": [
344324
{
345-
"tag": "h3.tsd-anchor-link",
346-
"props": {
347-
"id": "pub"
348-
},
349-
"children": [
325+
"h3.tsd-anchor-link#pub": [
350326
{
351327
"span": "pub"
352328
},
@@ -381,11 +357,7 @@
381357
{
382358
"section.tsd-panel.tsd-member": [
383359
{
384-
"tag": "h3.tsd-anchor-link",
385-
"props": {
386-
"id": "read"
387-
},
388-
"children": [
360+
"h3.tsd-anchor-link#read": [
389361
{
390362
"code.tsd-tag": "Readonly"
391363
},

0 commit comments

Comments
 (0)