feat(server): faster metadata extraction #27405
Annotations
12 errors
|
|
server/src/services/job.service.spec.ts#L306
AssertionError: expected "spy" to be called 1 times, but got 0 times
❯ src/services/job.service.spec.ts:306:33
|
server/src/services/metadata.service.spec.ts#L342
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st spy call:
Array [
- ObjectContaining {
- "latitude": null,
- "longitude": null,
+ Object {
+ "assetId": "asset-with-favorite-id",
+ "autoStackId": null,
+ "bitsPerSample": null,
+ "city": null,
+ "colorspace": null,
+ "country": null,
+ "dateTimeOriginal": 2023-02-22T05:06:29.716Z,
+ "description": "",
+ "exifImageHeight": null,
+ "exifImageWidth": null,
+ "exposureTime": null,
+ "fNumber": null,
+ "fileSizeInByte": 123456,
+ "focalLength": null,
+ "fps": null,
+ "iso": null,
+ "latitude": 0,
+ "lensModel": null,
+ "livePhotoCID": null,
+ "longitude": 0,
+ "make": null,
+ "model": null,
+ "modifyDate": 2023-02-22T05:06:29.716Z,
+ "orientation": null,
+ "profileDescription": null,
+ "projectionType": null,
+ "rating": null,
+ "state": null,
+ "timeZone": null,
},
]
Number of calls: 1
❯ src/services/metadata.service.spec.ts:342:36
|
server/src/services/metadata.service.spec.ts#L495
AssertionError: expected "spy" to be called with arguments: [ { assetId: 'asset-id', tagIds: [] } ]
Received:
Number of calls: 0
❯ src/services/metadata.service.spec.ts:495:39
|
server/src/services/metadata.service.spec.ts#L507
AssertionError: expected "spy" to not be called at all, but actually been called 1 times
Received:
1st spy call:
Array [
Object {
"data": Object {
"id": "live-photo-motion-asset",
},
"name": "storage-template-migration-single",
},
]
Number of calls: 1
❯ src/services/metadata.service.spec.ts:507:33
|
server/src/services/metadata.service.spec.ts#L579
AssertionError: expected 1st "spy" call to have been called with [ { …(2) } ]
- Expected
+ Received
Array [
Object {
+ "duration": null,
+ "fileCreatedAt": 2022-06-19T23:41:36.910Z,
"id": "live-photo-still-asset",
- "livePhotoVideoId": "live-photo-motion-asset",
+ "localDateTime": 2022-06-19T23:41:36.910Z,
},
]
❯ src/services/metadata.service.spec.ts:579:32
|
server/src/services/metadata.service.spec.ts#L624
AssertionError: expected 1st "spy" call to have been called with [ { …(2) } ]
- Expected
+ Received
Array [
Object {
+ "duration": null,
+ "fileCreatedAt": 2022-06-19T23:41:36.910Z,
"id": "live-photo-still-asset",
- "livePhotoVideoId": "live-photo-motion-asset",
+ "localDateTime": 2022-06-19T23:41:36.910Z,
},
]
❯ src/services/metadata.service.spec.ts:624:32
|
server/src/services/metadata.service.spec.ts#L670
AssertionError: expected 1st "spy" call to have been called with [ { …(2) } ]
- Expected
+ Received
Array [
Object {
+ "duration": null,
+ "fileCreatedAt": 2022-06-19T23:41:36.910Z,
"id": "live-photo-still-asset",
- "livePhotoVideoId": "live-photo-motion-asset",
+ "localDateTime": 2022-06-19T23:41:36.910Z,
},
]
❯ src/services/metadata.service.spec.ts:670:32
|
server/src/services/metadata.service.spec.ts#L720
AssertionError: expected "spy" to be called +0 times, but got 1 times
❯ src/services/metadata.service.spec.ts:720:29
|
server/src/services/metadata.service.spec.ts#L737
AssertionError: expected 1st "spy" call to have been called with [ { …(2) } ]
- Expected
+ Received
Array [
Object {
- "id": "live-photo-motion-asset",
- "isVisible": false,
+ "duration": null,
+ "fileCreatedAt": 2022-06-19T23:41:36.910Z,
+ "id": "live-photo-still-asset",
+ "localDateTime": 2022-06-19T23:41:36.910Z,
},
]
❯ src/services/metadata.service.spec.ts:737:32
|
server/src/services/metadata.service.spec.ts#L877
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st spy call:
Array [
- ObjectContaining {
- "duration": "00:00:06.210",
+ Object {
+ "duration": null,
+ "fileCreatedAt": 2023-02-23T05:06:29.716Z,
"id": "asset-id",
+ "localDateTime": 2023-02-23T05:06:29.716Z,
},
]
Number of calls: 1
❯ src/services/metadata.service.spec.ts:877:32
|
The logs for this run have expired and are no longer available.
Loading