Skip to content

update svelte

update svelte #140

Triggered via push August 12, 2024 10:06
Status Failure
Total duration 36s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors
src/parser/analyse/story/children.test.ts > getStoryChildrenRawCode > When a `<Story />` is a self-closing tag... > works when `children` attribute was provided with a reference to snippet at the root of fragment: src/parser/extract/svelte/snippet-block.ts#L44
TypeError: Cannot read properties of undefined (reading 'type') ❯ Module.findStoryAttributeChildrenSnippetBlock src/parser/extract/svelte/snippet-block.ts:44:34 ❯ Module.getStoryChildrenRawCode src/parser/analyse/story/children.ts:45:48 ❯ src/parser/analyse/story/children.test.ts:34:25
src/parser/analyse/story/children.test.ts > getStoryChildrenRawCode > When a `<Story />` is a self-closing tag... > works implicit `children` attribute takes precedence over `setTemplate`: src/parser/extract/svelte/snippet-block.ts#L44
TypeError: Cannot read properties of undefined (reading 'type') ❯ Module.findStoryAttributeChildrenSnippetBlock src/parser/extract/svelte/snippet-block.ts:44:34 ❯ Module.getStoryChildrenRawCode src/parser/analyse/story/children.ts:45:48 ❯ src/parser/analyse/story/children.test.ts:114:25
Test
Process completed with exit code 1.