1
0
Fork 0
mirror of https://github.com/heyarne/airsonic-ui.git synced 2026-05-06 18:33:38 +02:00

Hide loading spinner when an error occured

This commit is contained in:
Arne Schlüter 2018-09-18 11:23:18 +02:00
commit 38eea1c8c9
2 changed files with 24 additions and 5 deletions

View file

@ -22,7 +22,9 @@
:credentials verified-credentials}))))
(testing "Should be true when routing is not yet set up"
(is (true? (is-booting? {:routes/current-route nil
:credentials verified-credentials}))))))
:credentials verified-credentials}))))
(testing "Should be false when an error occurred"
(is (false? (is-booting? (:db (events/show-notification {} [:_ :error "Something bad happened"]))))))))
(deftest cover-images
(let [credentials {:server "https://foo.bar"