From ea01bfe676bbf17b71adb7792f9aa2ef80c6e5c4 Mon Sep 17 00:00:00 2001 From: erik Date: Fri, 17 May 2024 11:30:22 +0200 Subject: [PATCH] Delete redundant test --- src/test/dda/masto_embed/browser_test.cljs | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/test/dda/masto_embed/browser_test.cljs diff --git a/src/test/dda/masto_embed/browser_test.cljs b/src/test/dda/masto_embed/browser_test.cljs deleted file mode 100644 index 564c09c..0000000 --- a/src/test/dda/masto_embed/browser_test.cljs +++ /dev/null @@ -1,22 +0,0 @@ -(ns dda.masto-embed.browser-test - (:require - [cljs.test :refer (deftest is)] - [hickory.core :as h] - [shadow.resource :as rc] - [clojure.walk :as w] - [dda.masto-embed.browser :as sut])) - - -(defn post-html [] - (h/as-hiccup - (h/parse - (rc/inline "dda/masto_embed/resources/post.html")))) - -(defn post-html-no-media [] - (h/as-hickory - (h/parse - (rc/inline "dda/masto_embed/resources/post-min.html")))) - -(deftest should-remove-media - (is (= (post-html-no-media) - (sut/remove-image-elem))))