mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-01-02 03:37:54 +02:00
removed test-gif again
This commit is contained in:
parent
e2fedb26a1
commit
7077fedc5a
Binary file not shown.
Before Width: | Height: | Size: 982 KiB |
@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"creationDate": 1713101795426,
|
|
||||||
"fileSize": 1005674,
|
|
||||||
"size": {
|
|
||||||
"height": 400,
|
|
||||||
"width": 400
|
|
||||||
}
|
|
||||||
}
|
|
@ -41,12 +41,6 @@ describe('MetadataLoader', () => {
|
|||||||
expect(Utils.clone(data)).to.be.deep.equal(expected);
|
expect(Utils.clone(data)).to.be.deep.equal(expected);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should load gif', async () => {
|
|
||||||
const data = await MetadataLoader.loadPhotoMetadata(path.join(__dirname, '/../../../assets/rotatingearthwmetadata.gif'));
|
|
||||||
const expected = require(path.join(__dirname, '/../../../assets/rotatingearthwmetadata.json'));
|
|
||||||
expect(Utils.clone(data)).to.be.deep.equal(expected);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should load png', async () => {
|
it('should load png', async () => {
|
||||||
const data = await MetadataLoader.loadPhotoMetadata(path.join(__dirname, '/../../../assets/test_png.png'));
|
const data = await MetadataLoader.loadPhotoMetadata(path.join(__dirname, '/../../../assets/test_png.png'));
|
||||||
const expected = require(path.join(__dirname, '/../../../assets/test_png.json'));
|
const expected = require(path.join(__dirname, '/../../../assets/test_png.json'));
|
||||||
|
Loading…
Reference in New Issue
Block a user