Skip to content

Commit

Permalink
Add tests audio and video shorts
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko committed Aug 8, 2023
1 parent b22a9af commit 6807b94
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/kino/shorts_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,12 @@ defmodule Kino.ShortsTest do
test "image" do
assert image("foo", "image/jpg") == Kino.Image.new("foo", "image/jpg")
end

test "audio" do
assert %Kino.JS.Live{} = audio("foo", "audio/wav")
end

test "video" do
assert %Kino.JS.Live{} = video("foo", "video/mp4")
end
end

0 comments on commit 6807b94

Please sign in to comment.