You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exports[`markdown-helpers rawTypeToTypeInformation() should allow commas in object types 1`] =`
3
+
exports[`markdown-helpers > rawTypeToTypeInformation() > should allow commas in object types 1`] =`
4
4
{
5
5
"collection": false,
6
6
"parameters": [],
@@ -12,7 +12,7 @@ exports[`markdown-helpers rawTypeToTypeInformation() should allow commas in obje
12
12
}
13
13
`;
14
14
15
-
exports[`markdown-helpers rawTypeToTypeInformation() should map a Promise types correctly 1`] =`
15
+
exports[`markdown-helpers > rawTypeToTypeInformation() > should map a Promise types correctly 1`] =`
16
16
{
17
17
"collection": false,
18
18
"innerTypes": [
@@ -25,7 +25,7 @@ exports[`markdown-helpers rawTypeToTypeInformation() should map a Promise types
25
25
}
26
26
`;
27
27
28
-
exports[`markdown-helpers rawTypeToTypeInformation() should map a complex Promise types correctly 1`] =`
28
+
exports[`markdown-helpers > rawTypeToTypeInformation() > should map a complex Promise types correctly 1`] =`
29
29
{
30
30
"collection": false,
31
31
"innerTypes": [
@@ -47,7 +47,7 @@ exports[`markdown-helpers rawTypeToTypeInformation() should map a complex Promis
47
47
}
48
48
`;
49
49
50
-
exports[`markdown-helpers rawTypeToTypeInformation() should map a function return type + param types correctly 1`] =`
50
+
exports[`markdown-helpers > rawTypeToTypeInformation() > should map a function return type + param types correctly 1`] =`
51
51
{
52
52
"collection": false,
53
53
"parameters": [
@@ -68,7 +68,7 @@ exports[`markdown-helpers rawTypeToTypeInformation() should map a function retur
68
68
}
69
69
`;
70
70
71
-
exports[`markdown-helpers rawTypeToTypeInformation() should map a function return type correctly 1`] =`
71
+
exports[`markdown-helpers > rawTypeToTypeInformation() > should map a function return type correctly 1`] =`
72
72
{
73
73
"collection": false,
74
74
"parameters": [],
@@ -80,7 +80,7 @@ exports[`markdown-helpers rawTypeToTypeInformation() should map a function retur
80
80
}
81
81
`;
82
82
83
-
exports[`markdown-helpers rawTypeToTypeInformation() should map a function with complex return type + complex param types correctly 1`] =`
83
+
exports[`markdown-helpers > rawTypeToTypeInformation() > should map a function with complex return type + complex param types correctly 1`] =`
84
84
{
85
85
"collection": false,
86
86
"parameters": [
@@ -142,7 +142,7 @@ exports[`markdown-helpers rawTypeToTypeInformation() should map a function with
142
142
}
143
143
`;
144
144
145
-
exports[`markdown-helpers rawTypeToTypeInformation() should map a nested Function types correctly 1`] =`
145
+
exports[`markdown-helpers > rawTypeToTypeInformation() > should map a nested Function types correctly 1`] =`
146
146
{
147
147
"collection": false,
148
148
"innerTypes": [
@@ -169,7 +169,7 @@ exports[`markdown-helpers rawTypeToTypeInformation() should map a nested Functio
169
169
}
170
170
`;
171
171
172
-
exports[`markdown-helpers rawTypeToTypeInformation() should map a nested Promise types correctly 1`] =`
172
+
exports[`markdown-helpers > rawTypeToTypeInformation() > should map a nested Promise types correctly 1`] =`
173
173
{
174
174
"collection": false,
175
175
"innerTypes": [
@@ -197,7 +197,7 @@ exports[`markdown-helpers rawTypeToTypeInformation() should map a nested Promise
197
197
}
198
198
`;
199
199
200
-
exports[`markdown-helpers rawTypeToTypeInformation() should map a nested complex Promise types correctly 1`] =`
200
+
exports[`markdown-helpers > rawTypeToTypeInformation() > should map a nested complex Promise types correctly 1`] =`
201
201
{
202
202
"collection": false,
203
203
"innerTypes": [
@@ -225,7 +225,7 @@ exports[`markdown-helpers rawTypeToTypeInformation() should map a nested complex
225
225
}
226
226
`;
227
227
228
-
exports[`markdown-helpers rawTypeToTypeInformation() should map a nested complex Promise types correctly 2`] =`
228
+
exports[`markdown-helpers > rawTypeToTypeInformation() > should map a nested complex Promise types correctly 2`] =`
229
229
{
230
230
"collection": false,
231
231
"innerTypes": [
@@ -253,14 +253,14 @@ exports[`markdown-helpers rawTypeToTypeInformation() should map a nested complex
253
253
}
254
254
`;
255
255
256
-
exports[`markdown-helpers rawTypeToTypeInformation() should map a primitive types correctly 1`] =`
256
+
exports[`markdown-helpers > rawTypeToTypeInformation() > should map a primitive types correctly 1`] =`
257
257
{
258
258
"collection": false,
259
259
"type": "Boolean",
260
260
}
261
261
`;
262
262
263
-
exports[`markdown-helpers rawTypeToTypeInformation() should map a wrapped collection type correctly 1`] =`
263
+
exports[`markdown-helpers > rawTypeToTypeInformation() > should map a wrapped collection type correctly 1`] =`
264
264
{
265
265
"collection": false,
266
266
"innerTypes": [
@@ -287,24 +287,24 @@ exports[`markdown-helpers rawTypeToTypeInformation() should map a wrapped collec
287
287
}
288
288
`;
289
289
290
-
exports[`markdown-helpers rawTypeToTypeInformation() should map an unknown types correctly 1`] =`
290
+
exports[`markdown-helpers > rawTypeToTypeInformation() > should map an unknown types correctly 1`] =`
291
291
{
292
292
"collection": false,
293
293
"type": "MyType",
294
294
}
295
295
`;
296
296
297
-
exports[`markdown-helpers safelyJoinTokens snapshots should be correct for basic-paragraph 1`] =`"This is just a basic paragraph. It has multiple sentences and natural soft breaks."`;
297
+
exports[`markdown-helpers > safelyJoinTokens > snapshots > should be correct for basic-paragraph 1`] =`"This is just a basic paragraph. It has multiple sentences and natural soft breaks."`;
298
298
299
-
exports[`markdown-helpers safelyJoinTokens snapshots should be correct for blockquotes 1`] =`
299
+
exports[`markdown-helpers > safelyJoinTokens > snapshots > should be correct for blockquotes 1`] =`
300
300
"This is a paragraph
301
301
302
302
> and here is a quote
303
303
304
304
and another paragraph"
305
305
`;
306
306
307
-
exports[`markdown-helpers safelyJoinTokens snapshots should be correct for list-after-paragraph 1`] =`
307
+
exports[`markdown-helpers > safelyJoinTokens > snapshots > should be correct for list-after-paragraph 1`] =`
308
308
"This is a paragraph
309
309
310
310
* this
@@ -313,20 +313,20 @@ exports[`markdown-helpers safelyJoinTokens snapshots should be correct for list-
313
313
* list"
314
314
`;
315
315
316
-
exports[`markdown-helpers safelyJoinTokens snapshots should be correct for lists 1`] =`
316
+
exports[`markdown-helpers > safelyJoinTokens > snapshots > should be correct for lists 1`] =`
317
317
"* bar
318
318
* thing
319
319
* stuff
320
320
* my tab key does not work and I am sad"
321
321
`;
322
322
323
-
exports[`markdown-helpers safelyJoinTokens snapshots should be correct for multiple-paragraphs 1`] =`
323
+
exports[`markdown-helpers > safelyJoinTokens > snapshots > should be correct for multiple-paragraphs 1`] =`
324
324
"This is paragraph 1, it has a few sentences. Like this one, and a soft break.
325
325
326
326
And now this is a second paragraph, and it's also quite short with a soft break."
327
327
`;
328
328
329
-
exports[`markdown-helpers safelyJoinTokens snapshots should be correct for nested-list 1`] =`
329
+
exports[`markdown-helpers > safelyJoinTokens > snapshots > should be correct for nested-list 1`] =`
330
330
"* top level
331
331
* second level
332
332
* back to top
@@ -335,13 +335,13 @@ exports[`markdown-helpers safelyJoinTokens snapshots should be correct for neste
335
335
* now at third"
336
336
`;
337
337
338
-
exports[`markdown-helpers safelyJoinTokens snapshots should be correct for paragraph-fence-removal 1`] =`
338
+
exports[`markdown-helpers > safelyJoinTokens > snapshots > should be correct for paragraph-fence-removal 1`] =`
339
339
"This fence should be removed
340
340
341
341
Hey"
342
342
`;
343
343
344
-
exports[`markdown-helpers safelyJoinTokens snapshots should be correct for paragraph-with-br-tag 1`] =`
344
+
exports[`markdown-helpers > safelyJoinTokens > snapshots > should be correct for paragraph-with-br-tag 1`] =`
345
345
"Process: Main
346
346
_This class is not exported from the \`'electron'\` module. It is only available as a return value of other methods in the Electron API._
347
347
@@ -352,13 +352,13 @@ Process: Main
352
352
_This class is not exported from the \`'electron'\` module. It is only available as a return value of other methods in the Electron API._"
353
353
`;
354
354
355
-
exports[`markdown-helpers safelyJoinTokens snapshots should be correct for paragraph-with-inline-code 1`] =`"This is a \`inline code\` block that is \`code\` tagged."`;
355
+
exports[`markdown-helpers > safelyJoinTokens > snapshots > should be correct for paragraph-with-inline-code 1`] =`"This is a \`inline code\` block that is \`code\` tagged."`;
356
356
357
-
exports[`markdown-helpers safelyJoinTokens snapshots should be correct for paragraph-with-links 1`] =`"This paragraph has a bunch of stuff. Also some links Foo, these links should be stripped."`;
357
+
exports[`markdown-helpers > safelyJoinTokens > snapshots > should be correct for paragraph-with-links 1`] =`"This paragraph has a bunch of stuff. Also some links Foo, these links should be stripped."`;
358
358
359
-
exports[`markdown-helpers safelyJoinTokens snapshots should be correct for paragraph-with-text-markers 1`] =`"Heya, this is **bold** and _italic_ and *italic* and ~~struck through~~"`;
359
+
exports[`markdown-helpers > safelyJoinTokens > snapshots > should be correct for paragraph-with-text-markers 1`] =`"Heya, this is **bold** and _italic_ and *italic* and ~~struck through~~"`;
360
360
361
-
exports[`markdown-helpers safelyJoinTokens with code fence support should correctly insert the code fence 1`] =`
361
+
exports[`markdown-helpers > safelyJoinTokens > with code fence support > should correctly insert the code fence 1`] =`
`"heading tags must be from the allowlist: ["macOS","mas","Windows","Linux","Experimental","Deprecated","Readonly"]: expected [ 'macOS', 'mas', 'Windows', …(4) ] to include 'Awesome'"`,
50
+
`[AssertionError: heading tags must be from the allowlist: ["macOS","mas","Windows","Linux","Experimental","Deprecated","Readonly"]: expected [ 'macOS', 'mas', 'Windows', …(4) ] to include 'Awesome']`,
50
51
);
51
52
});
52
53
});
@@ -107,16 +108,16 @@ def fn():
107
108
it('should error helpfully on invalid value separators',()=>{
108
109
expect(()=>extractStringEnum('Can be `x` sometimes `y'))
109
110
.toThrowErrorMatchingInlineSnapshot(`
110
-
"Unexpected separator token while extracting string enum, expected a comma or "and" or "or" but found "s"
111
-
Context: \`x\` sometimes \`y
112
-
^"
113
-
`);
111
+
[Error: Unexpected separator token while extracting string enum, expected a comma or "and" or "or" but found "s"
112
+
Context: \`x\` sometimes \`y
113
+
^]
114
+
`);
114
115
});
115
116
116
117
it('should error helpfully on unterminated enum strings',()=>{
117
118
expect(()=>extractStringEnum('Can be `x` or `y')).toThrowErrorMatchingInlineSnapshot(`
118
-
"Unexpected early termination of token sequence while extracting string enum, did you forget to close a quote?
119
-
Context: \`x\` or \`y"
119
+
[Error: Unexpected early termination of token sequence while extracting string enum, did you forget to close a quote?
"Found a return type declaration that appears to be declaring a type union (A | B) but in the incorrect format. Type unions must be fully enclosed in backticks. For instance, instead of \`A\` | \`B\` you should specify \`A | B\`.
612
+
[Error: Found a return type declaration that appears to be declaring a type union (A | B) but in the incorrect format. Type unions must be fully enclosed in backticks. For instance, instead of \`A\` | \`B\` you should specify \`A | B\`.
612
613
Specifically this error was encountered here:
613
-
"Returns \`WebContents\` | \`string\` - A WebContents instance with the given ID."..."
614
+
"Returns \`WebContents\` | \`string\` - A WebContents instance with the given ID."...]
0 commit comments