Skip to content

Merge branch 'next' of github.com:storybookjs/addon-svelte-csf into c… #269

Merge branch 'next' of github.com:storybookjs/addon-svelte-csf into c…

Merge branch 'next' of github.com:storybookjs/addon-svelte-csf into c… #269

Triggered via push January 21, 2025 19:44
Status Failure
Total duration 1m 10s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
src/compiler/pre-transform/codemods/legacy-story.test.ts > transformLegacyStory > transforms 'template' id prop to 'template' reference prop and text expression becomes expression tag with identifier to snippet (case with invalid identifier): src/compiler/pre-transform/codemods/legacy-story.test.ts#L210
Error: Snapshot `transformLegacyStory > transforms 'template' id prop to 'template' reference prop and text expression becomes expression tag with identifier to snippet (case with invalid identifier) 1` mismatched Expected: ""<Story name="Default" template={template_c0gseq} />"" Received: ""<Story name="Default" template={template_r71ke5} />"" ❯ src/compiler/pre-transform/codemods/legacy-story.test.ts:210:7
src/compiler/pre-transform/codemods/legacy-story.test.ts > transformLegacyStory > when directive 'let:args' is used then it wraps Story fragment with 'template' snippet block: src/compiler/pre-transform/codemods/legacy-story.test.ts#L234
Error: Snapshot `transformLegacyStory > when directive 'let:args' is used then it wraps Story fragment with 'template' snippet block 1` mismatched - Expected + Received "<Story name="Default"> - {#snippet template(args)} + {#snippet children(args)} <Button {...args} /> {/snippet} </Story>" ❯ src/compiler/pre-transform/codemods/legacy-story.test.ts:234:7
src/compiler/pre-transform/codemods/legacy-story.test.ts > transformLegacyStory > when directive 'let:context' is used then it wraps Story fragment with 'template' snippet block: src/compiler/pre-transform/codemods/legacy-story.test.ts#L264
Error: Snapshot `transformLegacyStory > when directive 'let:context' is used then it wraps Story fragment with 'template' snippet block 1` mismatched - Expected + Received "<Story name="Default"> - {#snippet template(_args, context)} + {#snippet children(_args, context)} <p>{context.id}</p> {/snippet} </Story>" ❯ src/compiler/pre-transform/codemods/legacy-story.test.ts:264:7
src/compiler/pre-transform/codemods/legacy-story.test.ts > transformLegacyStory > when both directives 'let:args' and 'let:context' is used then it wraps Story fragment with 'template' snippet block: src/compiler/pre-transform/codemods/legacy-story.test.ts#L295
Error: Snapshot `transformLegacyStory > when both directives 'let:args' and 'let:context' is used then it wraps Story fragment with 'template' snippet block 1` mismatched - Expected + Received "<Story name="Default"> - {#snippet template(args, context)} + {#snippet children(args, context)} <h1>{args.title}</h1> <p>{context.id}</p> {/snippet} </Story>" ❯ src/compiler/pre-transform/codemods/legacy-story.test.ts:295:7
Test
Process completed with exit code 1.
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636