File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -337,6 +337,9 @@ describe('analyze', () => {
337
337
` ;
338
338
await expect ( analyze ( input ) ) . resolves . toMatchInlineSnapshot ( `
339
339
{
340
+ "headings": [
341
+ "hello",
342
+ ],
340
343
"imports": [],
341
344
"isTemplate": false,
342
345
"metaTags": undefined,
@@ -354,6 +357,7 @@ describe('analyze', () => {
354
357
` ;
355
358
await expect ( analyze ( input ) ) . resolves . toMatchInlineSnapshot ( `
356
359
{
360
+ "headings": [],
357
361
"imports": [
358
362
"./Button.stories",
359
363
],
@@ -420,7 +424,7 @@ describe('analyze', () => {
420
424
421
425
<Meta title="foobar" />
422
426
` ;
423
- expect ( analyze ( input ) ) . toMatchInlineSnapshot ( `
427
+ expect ( analyze ( input ) ) . resolves . toMatchInlineSnapshot ( `
424
428
{
425
429
"headings": [
426
430
"hello world",
@@ -429,6 +433,7 @@ describe('analyze', () => {
429
433
],
430
434
"imports": [],
431
435
"isTemplate": false,
436
+ "metaTags": undefined,
432
437
"name": undefined,
433
438
"of": undefined,
434
439
"title": "foobar",
You can’t perform that action at this time.
0 commit comments