Update eblurhash to a non-bugged version #34
1 changed files with 3 additions and 3 deletions
|
@ -16,10 +16,10 @@ test "adds the dimensions and blurhash for images" do
|
|||
|
||||
{:ok, :filtered, meta} = AnalyzeMetadata.filter(upload)
|
||||
|
||||
assert %{width: 1024, height: 768, blurhash: "V6Dv1P?^IS.6InIEIqV^xtWE$$M|D,RnM}%1RitPR%X3"} =
|
||||
meta
|
||||
|
||||
assert %{width: 1024, height: 768} = meta
|
||||
assert meta.blurhash
|
||||
# Blurhashes should be a valid base83 string
|
||||
assert meta.blurhash =~ ~r/^[A-Za-z0-9#$%*\+,-\.:;=\?@\[\]\^_{|}~]{6,}$/
|
||||
end
|
||||
|
||||
test "adds the dimensions for videos" do
|
||||
|
|
Loading…
Reference in a new issue