Delete redundant test
This commit is contained in:
parent
eb78652718
commit
ea01bfe676
1 changed files with 0 additions and 22 deletions
|
@ -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))))
|
Loading…
Reference in a new issue