Skip to content

Commit e1ee0c0

Browse files
committed
update snapshots
1 parent c222f40 commit e1ee0c0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/compiler/post-transform/appendix/create-named-export-story.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ describe(createNamedExportStory.name, () => {
3030
}) as unknown as ESTreeAST.Program
3131
).code;
3232

33-
expect(stringified).toMatchInlineSnapshot(`"export const Default = __stories["Default"];"`);
33+
expect(stringified).toMatchInlineSnapshot(`"export const Default = { ...__stories["Default"], tags: [] };"`);
3434
});
3535
});

src/compiler/post-transform/index.test.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,10 @@ describe(transformStoriesCode.name, () => {
239239
"WithoutTemplate"
240240
];
241241
242-
export const Default = __stories["Default"];
243-
export const Rounded = __stories["Rounded"];
244-
export const Square = __stories["Square"];
245-
export const WithoutTemplate = __stories["WithoutTemplate"];"
242+
export const Default = { ...__stories["Default"], tags: [] };
243+
export const Rounded = { ...__stories["Rounded"], tags: [] };
244+
export const Square = { ...__stories["Square"], tags: [] };
245+
export const WithoutTemplate = { ...__stories["WithoutTemplate"], tags: [] };"
246246
`
247247
);
248248
});

0 commit comments

Comments
 (0)