1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-21 01:22:08 +02:00

resolve merge conflicts due to PR #829

This commit is contained in:
kagahd 2024-03-04 12:21:39 +01:00
parent 0f0a66c05d
commit fb65910993
No known key found for this signature in database
GPG Key ID: C7C8777FDE0053DF
5 changed files with 18 additions and 6 deletions

View File

@ -3,7 +3,7 @@
"width": 10,
"height": 5
},
"creationDate": 1709057753000,
"creationDate": 1709549328178,
"fileSize": 4489,
"keywords": [
"floor",

View File

@ -3,10 +3,10 @@
"width": 10,
"height": 5
},
"creationDate": 1709057753000,
"creationDate": 1709549328185,
"fileSize": 1430,
"keywords": [
"first",
"second"
]
}
}

View File

@ -0,0 +1,12 @@
{
"size": {
"width": 10,
"height": 5
},
"creationDate": 1709549328188,
"fileSize": 1430,
"keywords": [
"first",
"second"
]
}

View File

@ -3,9 +3,9 @@
"width": 10,
"height": 5
},
"creationDate": 1709057753000,
"creationDate": 1709549328189,
"fileSize": 1430,
"keywords": [
"first"
]
}
}

View File

@ -131,7 +131,7 @@ describe('MetadataLoader', () => {
it('should load sidecar file without file extension for photo', async () => {
const data = await MetadataLoader.loadPhotoMetadata(path.join(__dirname, '/../../../assets/sidecar/no_metadata_v2.jpg'));
const expected = require(path.join(__dirname, '/../../../assets/sidecar/no_metadata.jpg.json'));//sidecar "no_metadata_v2.xmp" is identical to "no_metadata.jpg.xmp" so we expect the same result
const expected = require(path.join(__dirname, '/../../../assets/sidecar/no_metadata_v2.jpg.json'));
expect(Utils.clone(data)).to.be.deep.equal(expected);
});