mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
fixing png test
This commit is contained in:
parent
15a0e5057f
commit
4e0c8d32a3
Binary file not shown.
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
@ -8,8 +8,8 @@ describe('MetadataLoader', () => {
|
|||||||
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'));
|
||||||
expect(Utils.clone(data)).to.be.deep.equal(Utils.clone({
|
expect(Utils.clone(data)).to.be.deep.equal(Utils.clone({
|
||||||
creationDate: 1545342192328,
|
creationDate: 1545435746672,
|
||||||
fileSize: 2110,
|
fileSize: 2155,
|
||||||
orientation: 1,
|
orientation: 1,
|
||||||
size: {
|
size: {
|
||||||
height: 26,
|
height: 26,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user