mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
fixed tests
This commit is contained in:
parent
5315e2b9bd
commit
589b255d45
Binary file not shown.
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 109 KiB |
@ -3,8 +3,8 @@
|
||||
"width": 1920,
|
||||
"height": 1080
|
||||
},
|
||||
"creationDate": 1706655727004,
|
||||
"fileSize": 110375,
|
||||
"creationDate": 1706659327000,
|
||||
"fileSize": 111432,
|
||||
"positionData": {
|
||||
"GPSData": {
|
||||
"longitude": 14.162922,
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 4.7 KiB |
@ -68,12 +68,6 @@ describe('MetadataLoader', () => {
|
||||
const expected = require(path.join(__dirname, '/../../../assets/Chars_exiftool.json'));
|
||||
expect(Utils.clone(data)).to.be.deep.equal(expected);
|
||||
});
|
||||
it('should load png with keyword and dates', async () => {
|
||||
const data = await MetadataLoader.loadPhotoMetadata(path.join(__dirname, '/../../../assets/png_with_keyword_and_dates.png'));
|
||||
const expected = require(path.join(__dirname, '/../../../assets/png_with_keyword_and_dates.json'));
|
||||
expect(Utils.clone(data)).to.be.deep.equal(expected);
|
||||
});
|
||||
|
||||
|
||||
describe('should load jpg with proper height and orientation', () => {
|
||||
it('jpg 1', async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user