Skip to content

Commit

Permalink
added fixture and test for issue #35
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeKovarik committed Sep 6, 2020
1 parent a3738c0 commit c92163c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Binary file added test/fixtures/issue-exifr-35.heic
Binary file not shown.
6 changes: 6 additions & 0 deletions test/issues.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ describe('issues (special cases)', () => {
assert.equal(output.LensModel, '24.0-70.0 mm f/2.8')
})

it(`exifr #35`, async () => {
var output = await exifr.parse(await getFile('issue-exifr-35.heic'), true)
assert.exists(output, `output is undefined`)
assert.equal(output.Make, 'samsung')
})

it(`exif-js #124`, async () => {
var output = await exifr.parse(await getFile('issue-exif-js-124.tiff'), true)
assert.exists(output, `output is undefined`)
Expand Down

0 comments on commit c92163c

Please sign in to comment.