From ce158828dc4ce2b5756b3858848afa9d613b5be3 Mon Sep 17 00:00:00 2001 From: Aaron Cook Date: Thu, 28 Nov 2024 12:31:28 +0100 Subject: [PATCH] Fix test --- src/components/wrappers/SanctionWrapper/index.test.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/wrappers/SanctionWrapper/index.test.tsx b/src/components/wrappers/SanctionWrapper/index.test.tsx index a578ac100d..655334a343 100644 --- a/src/components/wrappers/SanctionWrapper/index.test.tsx +++ b/src/components/wrappers/SanctionWrapper/index.test.tsx @@ -82,7 +82,7 @@ describe('SanctionWrapper', () => { expect(queryByText('Blocked address')).toBeTruthy() }) - it('should not render anything if the sanction list is loading', () => { + it('should render if the sanction list is loading', () => { const safe = faker.finance.ethereumAddress() const wallet = faker.finance.ethereumAddress() @@ -104,7 +104,6 @@ describe('SanctionWrapper', () => { , ) - expect(queryByText('Not sanctioned')).toBeFalsy() - expect(queryByText('Blocked address')).toBeFalsy() + expect(queryByText('Not sanctioned')).toBeTruthy() }) })