From f3113b102914b0c721513c260d9d69f390c8fc75 Mon Sep 17 00:00:00 2001 From: Norton Andreev Date: Wed, 24 Jul 2024 16:54:47 +0300 Subject: [PATCH] explorer: Remove Devnet Option Resolves #2019 --- .../components/__tests__/__snapshots__/Navbar.spec.js.snap | 6 ------ explorer/src/lib/stores/__tests__/appStore.spec.js | 1 - explorer/src/lib/stores/appStore.js | 1 - .../src/routes/__tests__/__snapshots__/layout.spec.js.snap | 6 ------ 4 files changed, 14 deletions(-) diff --git a/explorer/src/lib/components/__tests__/__snapshots__/Navbar.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/Navbar.spec.js.snap index f868aefd0b..23ba9b7008 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/Navbar.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/Navbar.spec.js.snap @@ -49,12 +49,6 @@ exports[`Navbar > renders the Navbar component 1`] = ` Testnet - diff --git a/explorer/src/lib/stores/__tests__/appStore.spec.js b/explorer/src/lib/stores/__tests__/appStore.spec.js index ac95d252b3..20b4428a5e 100644 --- a/explorer/src/lib/stores/__tests__/appStore.spec.js +++ b/explorer/src/lib/stores/__tests__/appStore.spec.js @@ -11,7 +11,6 @@ describe("appStore", () => { const { env } = import.meta; const expectedNetworks = [ { label: "Testnet", value: env.VITE_DUSK_TESTNET_NODE }, - { label: "Devnet", value: env.VITE_DUSK_DEVNET_NODE }, ]; expect(appStore).toHaveProperty("subscribe", expect.any(Function)); diff --git a/explorer/src/lib/stores/appStore.js b/explorer/src/lib/stores/appStore.js index 2833327bce..44c59a06a8 100644 --- a/explorer/src/lib/stores/appStore.js +++ b/explorer/src/lib/stores/appStore.js @@ -4,7 +4,6 @@ import { browser } from "$app/environment"; /** @type {NetworkOption[]}*/ const networks = [ { label: "Testnet", value: import.meta.env.VITE_DUSK_TESTNET_NODE }, - { label: "Devnet", value: import.meta.env.VITE_DUSK_DEVNET_NODE }, ]; const browserDefaults = browser diff --git a/explorer/src/routes/__tests__/__snapshots__/layout.spec.js.snap b/explorer/src/routes/__tests__/__snapshots__/layout.spec.js.snap index 4419a374bd..a77dcf8c51 100644 --- a/explorer/src/routes/__tests__/__snapshots__/layout.spec.js.snap +++ b/explorer/src/routes/__tests__/__snapshots__/layout.spec.js.snap @@ -51,12 +51,6 @@ exports[`Main layout > should render the app's main layout 1`] = ` Testnet -