diff --git a/app/components/Views/confirmations/components/TransactionBlockaidBanner/TransactionBlockaidBanner.test.tsx b/app/components/Views/confirmations/components/TransactionBlockaidBanner/TransactionBlockaidBanner.test.tsx index 2042b4397f8..ab839a17d20 100644 --- a/app/components/Views/confirmations/components/TransactionBlockaidBanner/TransactionBlockaidBanner.test.tsx +++ b/app/components/Views/confirmations/components/TransactionBlockaidBanner/TransactionBlockaidBanner.test.tsx @@ -8,7 +8,6 @@ import { ResultType, Reason } from '../BlockaidBanner/BlockaidBanner.types'; import TransactionBlockaidBanner from './TransactionBlockaidBanner'; jest.mock('../../../../../core/Engine', () => ({ - resetState: jest.fn(), context: { PreferencesController: { state: { diff --git a/app/components/Views/confirmations/components/TransactionReview/index.test.tsx b/app/components/Views/confirmations/components/TransactionReview/index.test.tsx index 469860d2308..11af061774a 100644 --- a/app/components/Views/confirmations/components/TransactionReview/index.test.tsx +++ b/app/components/Views/confirmations/components/TransactionReview/index.test.tsx @@ -64,6 +64,11 @@ jest.mock('../../../../../core/Engine', () => ({ ], }, }, + PreferencesController: { + state: { + securityAlertsEnabled: true, + }, + }, }, }));