Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Sep 4, 2024
1 parent e5df4f9 commit 129f63c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/analyze.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,9 @@ describe('analyze', () => {
`;
await expect(analyze(input)).resolves.toMatchInlineSnapshot(`
{
"headings": [
"hello",
],
"imports": [],
"isTemplate": false,
"metaTags": undefined,
Expand All @@ -354,6 +357,7 @@ describe('analyze', () => {
`;
await expect(analyze(input)).resolves.toMatchInlineSnapshot(`
{
"headings": [],
"imports": [
"./Button.stories",
],
Expand Down Expand Up @@ -420,7 +424,7 @@ describe('analyze', () => {
<Meta title="foobar" />
`;
expect(analyze(input)).toMatchInlineSnapshot(`
expect(analyze(input)).resolves.toMatchInlineSnapshot(`
{
"headings": [
"hello world",
Expand All @@ -429,6 +433,7 @@ describe('analyze', () => {
],
"imports": [],
"isTemplate": false,
"metaTags": undefined,
"name": undefined,
"of": undefined,
"title": "foobar",
Expand Down

0 comments on commit 129f63c

Please sign in to comment.