From 6839799a6aded4cdfa42dba05eae24bd51f33ef9 Mon Sep 17 00:00:00 2001 From: Dan Miller Date: Wed, 14 Dec 2022 22:59:13 -0330 Subject: [PATCH] Fix unit test --- .../confirm-page-container-container.test.js | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/ui/components/app/confirm-page-container/confirm-page-container-container.test.js b/ui/components/app/confirm-page-container/confirm-page-container-container.test.js index a77386adc383..9b4af965e483 100644 --- a/ui/components/app/confirm-page-container/confirm-page-container-container.test.js +++ b/ui/components/app/confirm-page-container/confirm-page-container-container.test.js @@ -121,23 +121,9 @@ describe('Confirm Page Container Container Test', () => { it('should not show add to address dialog if recipient is in contact list and should display contact name', () => { const addressBookName = 'test save name'; - const addressBook = { - '0x5': { - '0x7a1A4Ad9cc746a70ee58568466f7996dD0aCE4E8': { - address: '0x7a1A4Ad9cc746a70ee58568466f7996dD0aCE4E8', - chainId: '054', - isEns: false, - memo: '', - name: addressBookName, - }, - }, - }; - - mockState.metamask.addressBook = addressBook; - const store = configureMockStore()(mockState); - renderWithProvider(, store); + renderWithProvider(, store); // Does not display new address dialog banner const newAccountDetectDialog = screen.queryByText(