From 6807b947635a5a457534878cdfe3517e9c78521c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Tue, 8 Aug 2023 11:05:10 +0200 Subject: [PATCH] Add tests audio and video shorts --- test/kino/shorts_test.exs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/kino/shorts_test.exs b/test/kino/shorts_test.exs index 672eb956..cb5fab1a 100644 --- a/test/kino/shorts_test.exs +++ b/test/kino/shorts_test.exs @@ -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