Skip to content

Commit

Permalink
Add more Exif/XMP type tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiasw committed Dec 25, 2024
1 parent 9792907 commit c4b961b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/types/exif-reader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ expandedTags["exif"]?.["Thumbnail"]?.Compression?.value === 32946;
expandedTags["exif"]?.["Thumbnail"]?.Compression?.description === "Deflate";
expandedTags["exif"]?.["Images"]?.[0];

tags["SceneType"]?.value === 1;
tags["SceneType"]?.value === "1";
expandedTags["exif"]?.["SceneType"]?.value === 1;
// @ts-expect-error
expandedTags["exif"]?.["SceneType"]?.value === "1";
expandedTags["xmp"]?.["SceneType"]?.value === "1";

// @ts-expect-error
expandedTags["exif"]?.["NonExistent"];

Expand Down

0 comments on commit c4b961b

Please sign in to comment.