chore(web): migration svelte 5 syntax #26852
test.yml
on: pull_request
pre-job
5s
ShellCheck
6s
OpenAPI Clients
1m 13s
TypeORM Checks
1m 22s
Test & Lint Server
0s
Unit Test CLI
0s
Unit Test CLI (Windows)
0s
Test & Lint Web
2m 7s
End-to-End Lint
0s
Medium Tests (Server)
0s
End-to-End Tests (Server & CLI)
0s
End-to-End Tests (Web)
1m 38s
Unit Test Mobile
0s
Unit Test ML
0s
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
|
src/lib/components/album-page/__tests__/album-card.spec.ts > AlbumCard component > with rendered component - no thumbnail > dispatches "onShowContextMenu" event on context menu click with mouse coordinates:
web/src/lib/components/album-page/__tests__/album-card.spec.ts#L120
AssertionError: expected "spy" to be called 1 times, but got 0 times
❯ src/lib/components/album-page/__tests__/album-card.spec.ts:120:33
|
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
|