Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
xeho91 committed Oct 19, 2024
1 parent 9e73f88 commit c3e75ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/compiler/pre-transform/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ describe(codemodLegacyNodes.name, () => {
const transformed = await codemodLegacyNodes({ ast });

expect(print(transformed)).toMatchInlineSnapshot(`
"<script context="module">
"<script module>
import { defineMeta } from "@storybook/addon-svelte-csf";
/** This is a description for the **Button** component stories. */
Expand Down Expand Up @@ -152,7 +152,7 @@ describe(codemodLegacyNodes.name, () => {
const transformed = await codemodLegacyNodes({ ast });

expect(print(transformed)).toMatchInlineSnapshot(`
"<script context="module">
"<script module>
import { defineMeta } from "@storybook/addon-svelte-csf";
</script>"
`);
Expand All @@ -175,7 +175,7 @@ describe(codemodLegacyNodes.name, () => {
const transformed = await codemodLegacyNodes({ ast });

expect(print(transformed)).toMatchInlineSnapshot(`
"<script context="module">
"<script module>
import { defineMeta } from "@storybook/addon-svelte-csf";
const { Story } = defineMeta({
Expand Down Expand Up @@ -207,7 +207,7 @@ describe(codemodLegacyNodes.name, () => {
const transformed = await codemodLegacyNodes({ ast });

expect(print(transformed)).toMatchInlineSnapshot(`
"<script context="module">
"<script module>
import { defineMeta } from "@storybook/addon-svelte-csf";
import Button from "./Button.svelte";
Expand Down

0 comments on commit c3e75ce

Please sign in to comment.