Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
flexsurfer committed Apr 18, 2024
1 parent 35ecb20 commit 422a9a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/status_im/common/alert_banner/events_test.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
(is (match? {:db {:alert-banners
{:alert {:text "Alert"
:type :alert}}}
:show-alert-banner nil}
:show-alert-banner [nil nil]}
(events/add-alert-banner {:db {}}
[{:text "Alert"
:type :alert}])))))

(deftest remove-alert-banner
(testing "Alert banner is removed"
(is (match? {:db {}
:hide-alert-banner nil}
:hide-alert-banner [nil nil]}
(events/remove-alert-banner {:db {:alert-banners
{:alert {:text "Alert"
:type :alert}}}}
Expand All @@ -34,7 +34,7 @@
(deftest remove-all-alert-banners
(testing "All Alert banners are removed"
(is (match? {:db {}
:hide-alert-banner nil}
:hide-alert-banner [nil nil]}
(events/remove-all-alert-banners {:db {:alert-banners
{:alert {:text "Alert"
:type :alert}
Expand Down

0 comments on commit 422a9a9

Please sign in to comment.