Skip to content

chore(web): migration svelte 5 syntax #26852

chore(web): migration svelte 5 syntax

chore(web): migration svelte 5 syntax #26852

Triggered via pull request November 8, 2024 19:23
Status Failure
Total duration 2m 29s
Artifacts

test.yml

on: pull_request
Test & Lint Server
0s
Test & Lint Server
Unit Test CLI
0s
Unit Test CLI
Unit Test CLI (Windows)
0s
Unit Test CLI (Windows)
Test & Lint Web
2m 7s
Test & Lint Web
End-to-End Lint
0s
End-to-End Lint
Medium Tests (Server)
0s
Medium Tests (Server)
End-to-End Tests (Server & CLI)
0s
End-to-End Tests (Server & CLI)
End-to-End Tests (Web)
1m 38s
End-to-End Tests (Web)
Unit Test Mobile
0s
Unit Test Mobile
Unit Test ML
0s
Unit Test ML
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 2 warnings
TypeORM Checks
Process completed with exit code 1.
End-to-End Tests (Web)
Process completed with exit code 1.
End-to-End Tests (Web)
Process completed with exit code 17.
Test & Lint Web
Process completed with exit code 1.
Test & Lint Web
Process completed with exit code 1.
src/lib/components/asset-viewer/photo-viewer.spec.ts > PhotoViewer component > loads the original image for gifs: web/src/lib/components/asset-viewer/photo-viewer.spec.ts#L52
AssertionError: expected "spy" to not be called at all, but actually been called 1 times Received: 1st spy call: Array [ Object { "checksum": "1wbg8SWb74CIT7R3MG1hVWQZL8Uk", "id": "d6d9f694-5faa-4412-b72f-dd16a9fc3fe7", "size": "preview", }, ] Number of calls: 1 ❯ src/lib/components/asset-viewer/photo-viewer.spec.ts:52:41
src/lib/components/asset-viewer/photo-viewer.spec.ts > PhotoViewer component > loads original for shared link when download permission is true and showMetadata permission is true: web/src/lib/components/asset-viewer/photo-viewer.spec.ts#L61
AssertionError: expected "spy" to not be called at all, but actually been called 1 times Received: 1st spy call: Array [ Object { "checksum": "FfsKUAC6GTeg5nfE6esB8Fi5R8p7", "id": "106101f2-d25e-424b-807d-aa5b9176af5c", "size": "preview", }, ] Number of calls: 1 ❯ src/lib/components/asset-viewer/photo-viewer.spec.ts:61:41
src/lib/components/shared-components/change-date.spec.ts > ChangeDate component > should render correct values: web/node_modules/svelte/src/internal/client/errors.js#L268
Svelte error: props_invalid_value Cannot do `bind:selectedOption={undefined}` when `selectedOption` has a fallback value in full-screen-modal.svelte in confirm-dialog.svelte in change-date.svelte ❯ Module.props_invalid_value node_modules/svelte/src/internal/client/errors.js:268:17 ❯ Module.prop node_modules/svelte/src/internal/client/reactivity/props.js:309:26 ❯ Module.Combobox [as default] src/lib/components/shared-components/combobox.svelte:46:5 ❯ src/lib/components/shared-components/change-date.svelte:156:34 ❯ node_modules/svelte/src/internal/client/dom/blocks/snippet.js:77:11 ❯ node_modules/svelte/src/internal/client/dom/blocks/snippet.js:56:89 ❯ update_reaction node_modules/svelte/src/internal/client/runtime.js:327:56 ❯ Module.update_effect node_modules/svelte/src/internal/client/runtime.js:455:18 ❯ create_effect node_modules/svelte/src/internal/client/reactivity/effects.js:98:26 ❯ Module.Combobox [as default] src/lib/components/shared-components/combobox.svelte:46:5 ❯ src/lib/components/shared-components/change-date.svelte:156:34
src/lib/components/shared-components/change-date.spec.ts > ChangeDate component > calls onConfirm with correct date on confirm: web/node_modules/svelte/src/internal/client/errors.js#L268
Svelte error: props_invalid_value Cannot do `bind:selectedOption={undefined}` when `selectedOption` has a fallback value in full-screen-modal.svelte in confirm-dialog.svelte in change-date.svelte ❯ Module.props_invalid_value node_modules/svelte/src/internal/client/errors.js:268:17 ❯ Module.prop node_modules/svelte/src/internal/client/reactivity/props.js:309:26 ❯ Module.Combobox [as default] src/lib/components/shared-components/combobox.svelte:46:5 ❯ src/lib/components/shared-components/change-date.svelte:156:34 ❯ node_modules/svelte/src/internal/client/dom/blocks/snippet.js:77:11 ❯ node_modules/svelte/src/internal/client/dom/blocks/snippet.js:56:89 ❯ update_reaction node_modules/svelte/src/internal/client/runtime.js:327:56 ❯ Module.update_effect node_modules/svelte/src/internal/client/runtime.js:455:18 ❯ create_effect node_modules/svelte/src/internal/client/reactivity/effects.js:98:26 ❯ Module.Combobox [as default] src/lib/components/shared-components/combobox.svelte:46:5 ❯ src/lib/components/shared-components/change-date.svelte:156:34
src/lib/components/shared-components/change-date.spec.ts > ChangeDate component > calls onCancel on cancel: web/node_modules/svelte/src/internal/client/errors.js#L268
Svelte error: props_invalid_value Cannot do `bind:selectedOption={undefined}` when `selectedOption` has a fallback value in full-screen-modal.svelte in confirm-dialog.svelte in change-date.svelte ❯ Module.props_invalid_value node_modules/svelte/src/internal/client/errors.js:268:17 ❯ Module.prop node_modules/svelte/src/internal/client/reactivity/props.js:309:26 ❯ Module.Combobox [as default] src/lib/components/shared-components/combobox.svelte:46:5 ❯ src/lib/components/shared-components/change-date.svelte:156:34 ❯ node_modules/svelte/src/internal/client/dom/blocks/snippet.js:77:11 ❯ node_modules/svelte/src/internal/client/dom/blocks/snippet.js:56:89 ❯ update_reaction node_modules/svelte/src/internal/client/runtime.js:327:56 ❯ Module.update_effect node_modules/svelte/src/internal/client/runtime.js:455:18 ❯ create_effect node_modules/svelte/src/internal/client/reactivity/effects.js:98:26 ❯ Module.Combobox [as default] src/lib/components/shared-components/combobox.svelte:46:5 ❯ src/lib/components/shared-components/change-date.svelte:156:34
src/lib/components/shared-components/change-date.spec.ts > ChangeDate component > when date is in daylight saving time > should render correct timezone with offset: web/node_modules/svelte/src/internal/client/errors.js#L268
Svelte error: props_invalid_value Cannot do `bind:selectedOption={undefined}` when `selectedOption` has a fallback value in full-screen-modal.svelte in confirm-dialog.svelte in change-date.svelte ❯ Module.props_invalid_value node_modules/svelte/src/internal/client/errors.js:268:17 ❯ Module.prop node_modules/svelte/src/internal/client/reactivity/props.js:309:26 ❯ Module.Combobox [as default] src/lib/components/shared-components/combobox.svelte:46:5 ❯ src/lib/components/shared-components/change-date.svelte:156:34 ❯ node_modules/svelte/src/internal/client/dom/blocks/snippet.js:77:11 ❯ node_modules/svelte/src/internal/client/dom/blocks/snippet.js:56:89 ❯ update_reaction node_modules/svelte/src/internal/client/runtime.js:327:56 ❯ Module.update_effect node_modules/svelte/src/internal/client/runtime.js:455:18 ❯ create_effect node_modules/svelte/src/internal/client/reactivity/effects.js:98:26 ❯ Module.Combobox [as default] src/lib/components/shared-components/combobox.svelte:46:5 ❯ src/lib/components/shared-components/change-date.svelte:156:34
src/lib/components/shared-components/change-date.spec.ts > ChangeDate component > when date is in daylight saving time > calls onConfirm with correct date on confirm: web/node_modules/svelte/src/internal/client/errors.js#L268
Svelte error: props_invalid_value Cannot do `bind:selectedOption={undefined}` when `selectedOption` has a fallback value in full-screen-modal.svelte in confirm-dialog.svelte in change-date.svelte ❯ Module.props_invalid_value node_modules/svelte/src/internal/client/errors.js:268:17 ❯ Module.prop node_modules/svelte/src/internal/client/reactivity/props.js:309:26 ❯ Module.Combobox [as default] src/lib/components/shared-components/combobox.svelte:46:5 ❯ src/lib/components/shared-components/change-date.svelte:156:34 ❯ node_modules/svelte/src/internal/client/dom/blocks/snippet.js:77:11 ❯ node_modules/svelte/src/internal/client/dom/blocks/snippet.js:56:89 ❯ update_reaction node_modules/svelte/src/internal/client/runtime.js:327:56 ❯ Module.update_effect node_modules/svelte/src/internal/client/runtime.js:455:18 ❯ create_effect node_modules/svelte/src/internal/client/reactivity/effects.js:98:26 ❯ Module.Combobox [as default] src/lib/components/shared-components/combobox.svelte:46:5 ❯ src/lib/components/shared-components/change-date.svelte:156:34
Test & Lint Web
Process completed with exit code 1.
Test & Lint Web: web/src/lib/components/admin-page/settings/logging-settings/logging-settings.svelte#L2
'preventDefault' is defined but never used. Allowed unused vars must match /^_$/u
Test & Lint Web: web/src/lib/components/admin-page/settings/logging-settings/logging-settings.svelte#L4
'bubble' is assigned a value but never used. Allowed unused vars must match /^_$/u