Skip to content

Commit 129f63c

Browse files
committed
Fix tests
1 parent e5df4f9 commit 129f63c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/analyze.test.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,9 @@ describe('analyze', () => {
337337
`;
338338
await expect(analyze(input)).resolves.toMatchInlineSnapshot(`
339339
{
340+
"headings": [
341+
"hello",
342+
],
340343
"imports": [],
341344
"isTemplate": false,
342345
"metaTags": undefined,
@@ -354,6 +357,7 @@ describe('analyze', () => {
354357
`;
355358
await expect(analyze(input)).resolves.toMatchInlineSnapshot(`
356359
{
360+
"headings": [],
357361
"imports": [
358362
"./Button.stories",
359363
],
@@ -420,7 +424,7 @@ describe('analyze', () => {
420424
421425
<Meta title="foobar" />
422426
`;
423-
expect(analyze(input)).toMatchInlineSnapshot(`
427+
expect(analyze(input)).resolves.toMatchInlineSnapshot(`
424428
{
425429
"headings": [
426430
"hello world",
@@ -429,6 +433,7 @@ describe('analyze', () => {
429433
],
430434
"imports": [],
431435
"isTemplate": false,
436+
"metaTags": undefined,
432437
"name": undefined,
433438
"of": undefined,
434439
"title": "foobar",

0 commit comments

Comments
 (0)