Skip to content

Commit

Permalink
Hide browser behind feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
flexsurfer committed May 21, 2024
1 parent 67baa9b commit fbf6426
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
9 changes: 4 additions & 5 deletions src/legacy/status_im/browser/core_test.cljs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
(ns legacy.status-im.browser.core-test
(:require
[cljs.test :refer-macros [deftest is testing]]
[legacy.status-im.browser.core :as browser]
[utils.i18n :as i18n]
[utils.url :as url]))

(defn has-wrong-properties?
Expand Down Expand Up @@ -102,7 +99,8 @@
dapp1-id
{:browser-id dapp1-id
:history-index 0
:history ["https://cryptokitties.co" dapp1-url2]
:history ["https://cryptokitties.co"
dapp1-url2]
:dapp? false
:name (i18n/label :t/browser)}))
"some properties of the browser are not correct")
Expand All @@ -115,7 +113,8 @@
dapp1-id
{:browser-id dapp1-id
:history-index 1
:history ["https://cryptokitties.co" dapp1-url2]
:history ["https://cryptokitties.co"
dapp1-url2]
:dapp? false
:name (i18n/label :t/browser)}))
"some properties of the browser are not correct"))))))))))))
8 changes: 1 addition & 7 deletions src/legacy/status_im/browser/permissions_test.cljs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
(ns legacy.status-im.browser.permissions-test
(:require
[cljs.test :refer-macros [deftest is testing]]
[legacy.status-im.browser.core :as browser]
[legacy.status-im.browser.core-test :as core.tests]
[legacy.status-im.browser.permissions :as permissions]
[legacy.status-im.utils.deprecated-types :as types]))
(ns legacy.status-im.browser.permissions-test)

#_(deftest permissions-test
(let [dapp-name "test.com"
Expand Down

0 comments on commit fbf6426

Please sign in to comment.