From 65ec3424d4d6881e6833f6f192d46cc89d1a9583 Mon Sep 17 00:00:00 2001 From: Salah Date: Tue, 29 Aug 2023 14:24:55 +0100 Subject: [PATCH] Remove remaining qrHardware props --- app/scripts/controllers/app-state.test.js | 3 --- app/scripts/controllers/mmi-controller.test.js | 3 --- test/e2e/fixture-builder.js | 2 -- .../errors-after-init-opt-in-background-state.json | 1 - .../state-snapshots/errors-after-init-opt-in-ui-state.json | 1 - .../errors-before-init-opt-in-background-state.json | 1 - .../state-snapshots/errors-before-init-opt-in-ui-state.json | 1 - 7 files changed, 12 deletions(-) diff --git a/app/scripts/controllers/app-state.test.js b/app/scripts/controllers/app-state.test.js index 4716e30cd3d7..17d5ac01692f 100644 --- a/app/scripts/controllers/app-state.test.js +++ b/app/scripts/controllers/app-state.test.js @@ -21,9 +21,6 @@ describe('AppStateController', () => { }, })), }, - qrHardwareStore: { - subscribe: jest.fn(), - }, messenger: { call: jest.fn(() => ({ catch: jest.fn(), diff --git a/app/scripts/controllers/mmi-controller.test.js b/app/scripts/controllers/mmi-controller.test.js index e4b26dd62f5b..df102f058e1e 100644 --- a/app/scripts/controllers/mmi-controller.test.js +++ b/app/scripts/controllers/mmi-controller.test.js @@ -70,9 +70,6 @@ describe('MMIController', function () { }, })), }, - qrHardwareStore: { - subscribe: jest.fn(), - }, messenger: { call: jest.fn(() => ({ catch: jest.fn(), diff --git a/test/e2e/fixture-builder.js b/test/e2e/fixture-builder.js index 24dc9bf9730a..dc80b31fb5ec 100644 --- a/test/e2e/fixture-builder.js +++ b/test/e2e/fixture-builder.js @@ -166,7 +166,6 @@ function defaultFixture() { fullScreenGasPollTokens: [], notificationGasPollTokens: [], popupGasPollTokens: [], - qrHardware: {}, recoveryPhraseReminderHasBeenShown: true, recoveryPhraseReminderLastShown: '__FIXTURE_SUBSTITUTION__currentDateInMilliseconds', @@ -332,7 +331,6 @@ function onboardingFixture() { fullScreenGasPollTokens: [], notificationGasPollTokens: [], popupGasPollTokens: [], - qrHardware: {}, recoveryPhraseReminderHasBeenShown: false, recoveryPhraseReminderLastShown: '__FIXTURE_SUBSTITUTION__currentDateInMilliseconds', diff --git a/test/e2e/tests/state-snapshots/errors-after-init-opt-in-background-state.json b/test/e2e/tests/state-snapshots/errors-after-init-opt-in-background-state.json index a522a1b11f93..c4f7b4596b53 100644 --- a/test/e2e/tests/state-snapshots/errors-after-init-opt-in-background-state.json +++ b/test/e2e/tests/state-snapshots/errors-after-init-opt-in-background-state.json @@ -30,7 +30,6 @@ "trezorModel": null, "nftsDropdownState": {}, "termsOfUseLastAgreed": "number", - "qrHardware": {}, "usedNetworks": { "0x1": true, "0x5": true, "0x539": true }, "snapsInstallPrivacyWarningShown": true, "hadAdvancedGasFeesSetPriorToMigration92_3": false, diff --git a/test/e2e/tests/state-snapshots/errors-after-init-opt-in-ui-state.json b/test/e2e/tests/state-snapshots/errors-after-init-opt-in-ui-state.json index aad4be321658..184150c5e643 100644 --- a/test/e2e/tests/state-snapshots/errors-after-init-opt-in-ui-state.json +++ b/test/e2e/tests/state-snapshots/errors-after-init-opt-in-ui-state.json @@ -52,7 +52,6 @@ "trezorModel": null, "nftsDropdownState": {}, "termsOfUseLastAgreed": "number", - "qrHardware": {}, "usedNetworks": { "0x1": true, "0x5": true, "0x539": true }, "snapsInstallPrivacyWarningShown": true, "hadAdvancedGasFeesSetPriorToMigration92_3": false, diff --git a/test/e2e/tests/state-snapshots/errors-before-init-opt-in-background-state.json b/test/e2e/tests/state-snapshots/errors-before-init-opt-in-background-state.json index 98f21ebd506a..6444c96e15f0 100644 --- a/test/e2e/tests/state-snapshots/errors-before-init-opt-in-background-state.json +++ b/test/e2e/tests/state-snapshots/errors-before-init-opt-in-background-state.json @@ -15,7 +15,6 @@ "fullScreenGasPollTokens": [], "notificationGasPollTokens": [], "popupGasPollTokens": [], - "qrHardware": {}, "recoveryPhraseReminderHasBeenShown": true, "recoveryPhraseReminderLastShown": "number", "showTestnetMessageInDropdown": true, diff --git a/test/e2e/tests/state-snapshots/errors-before-init-opt-in-ui-state.json b/test/e2e/tests/state-snapshots/errors-before-init-opt-in-ui-state.json index bf25106ca50b..85dbe85fe3ca 100644 --- a/test/e2e/tests/state-snapshots/errors-before-init-opt-in-ui-state.json +++ b/test/e2e/tests/state-snapshots/errors-before-init-opt-in-ui-state.json @@ -15,7 +15,6 @@ "fullScreenGasPollTokens": [], "notificationGasPollTokens": [], "popupGasPollTokens": [], - "qrHardware": {}, "recoveryPhraseReminderHasBeenShown": true, "recoveryPhraseReminderLastShown": "number", "showTestnetMessageInDropdown": true,