Skip to content

Import/Export

Import/Export #17

Triggered via pull request October 6, 2024 21:00
Status Failure
Total duration 45s
Artifacts

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 10 warnings
src/stores/StorageManager.spec.ts > StorageManager > should export data of all stores: src/stores/StorageManager.spec.ts#L68
AssertionError: expected { lastUpdatedAt: 100, …(2) } to deeply equal { exportedAt: 100, stores: { …(2) } } - Expected + Received Object { "exportedAt": 100, + "lastUpdatedAt": 100, "stores": Object { "store2": Object { "entities": Array [], + "lastUpdatedAt": 0, + "version": 0, }, "test": Object { "entities": Array [ Object { "createdAt": 100, "id": "db9ca907-844c-42d8-bc29-cf3b2f04078f", "testValue": "test1", "updatedAt": 100, }, ], + "lastUpdatedAt": 100, + "version": 0, }, }, } ❯ src/stores/StorageManager.spec.ts:68:55
src/stores/StorageManager.spec.ts > StorageManager > should allow importing data of all stores: src/stores/StorageManager.spec.ts#L108
AssertionError: expected { lastUpdatedAt: NaN, …(2) } to deeply equal { exportedAt: 100, stores: { …(2) } } - Expected + Received Object { "exportedAt": 100, + "lastUpdatedAt": NaN, "stores": Object { "store2": Object { "entities": Array [ Object { "id": "2-1", "testValue": "test1-Store2", }, ], + "lastUpdatedAt": NaN, + "version": 0, }, "test": Object { "entities": Array [], + "lastUpdatedAt": 0, + "version": 0, }, }, } ❯ src/stores/StorageManager.spec.ts:108:55
test
Process completed with exit code 1.
check
Process completed with exit code 1.
eslint: src/classes/Logger.ts#L62
Unsafe spread of an `any` array type
eslint: src/classes/todoFilters/LabelFilter.ts#L36
Unsafe call of an `any` typed value
eslint: src/components/CustomIcon.vue#L18
Unsafe return of an `any` typed value
eslint: src/components/DarkModeSwitcher.vue#L8
'value' is defined but never used
eslint: src/components/FilterBar.vue#L103
Unsafe assignment of an `any` value
eslint: src/components/FilterBar.vue#L107
Unsafe argument of type `any` assigned to a parameter of type `TodoFilter<any>`
eslint: src/components/FilterBar.vue#L110
Unsafe member access .hide on an `any` value
eslint: src/components/FilterBar.vue#L110
Unsafe call of an `any` typed value
eslint: src/components/FilterBar.vue#L138
Unsafe assignment of an `any` value
eslint: src/main.ts#L52
Unsafe assignment of an `any` value
eslint: src/components/CreateInputOverlay.vue#L46
This line has a length of 123. Maximum allowed is 120
eslint: src/components/FilterBar.vue#L3
This line has a length of 325. Maximum allowed is 120
eslint: src/components/NavigationBar.vue#L3
Classnames 'h-full, w-full' could be replaced by the 'size-full' shorthand!
eslint: src/components/TodoItem.vue#L3
This line has a length of 130. Maximum allowed is 120
eslint: src/components/labels/LabelItem.vue#L18
Classnames 'h-full, w-full' could be replaced by the 'size-full' shorthand!
eslint: src/components/labels/LabelItem.vue#L22
Classnames 'h-full, w-full' could be replaced by the 'size-full' shorthand!
eslint: src/components/navigation/NavigationItem.vue#L12
Classnames 'after:h-2, after:w-2' could be replaced by the 'after:size-2' shorthand!
eslint: src/components/navigation/NavigationItem.vue#L13
This line has a length of 211. Maximum allowed is 120
eslint: src/components/navigation/NavigationItem.vue#L19
Classnames 'h-8, w-8' could be replaced by the 'size-8' shorthand!
eslint: src/components/navigation/NavigationItem.vue#L34
Classnames 'h-8, w-8' could be replaced by the 'size-8' shorthand!